Logo Search packages:      
Sourcecode: znc version File versions

template<typename T>
CSmartPtr<T>& CSmartPtr< T >::operator= ( T *  p  )  [inline]

Attach() to a raw pointer.

pRawPtr The raw pointer to keep track of, ***WARNING*** Do _NOT_ allow more than one CSmartPtr keep track of the same raw pointer
Reference to self

Definition at line 500 of file Utils.h.

{ Attach(p); return *this; }

Generated by  Doxygen 1.6.0   Back to index