Add -> operator to CoTaskMemPtr

This adds the ability to get members via the -> operator.
master
jp9000 2014-09-01 13:00:22 -07:00
parent 5ac364ff9a
commit 45eae599ce
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ public:
inline ~CoTaskMemPtr() {Clear();}
inline operator T*() const {return ptr;}
inline T *operator->() const {return ptr;}
inline CoTaskMemPtr& operator=(T* val)
{