Add -> operator to CoTaskMemPtr
This adds the ability to get members via the -> operator.master
parent
5ac364ff9a
commit
45eae599ce
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue