Logo Search packages:      
Sourcecode: znc version File versions

template<typename T>
CSmartPtr< T >::CSmartPtr ( T *  pRawPtr  )  [inline]

Attach to an existing raw pointer, be CAREFUL not to have more than one CSmartPtr attach to the same raw pointer or bad things will happen.

Parameters:
pRawPtr The raw pointer to attach to

Definition at line 464 of file Utils.h.

                            {
            m_pType = NULL;
            m_puCount = NULL;

            Attach(pRawPtr);
      }


Generated by  Doxygen 1.6.0   Back to index