This documentation is archived and is not being maintained.

CAutoPtr Members

Methods

Attach

Call this method to take ownership of an existing pointer.

CAutoPtr

The constructor.

~CAutoPtr

The destructor.

Detach

Call this method to release ownership of a pointer.

Free

Call this method to delete an object pointed to by a CAutoPtr.

Operators

operator ->

The pointer-to-member operator.

operator =

The assignment operator.

operator T*

The cast operator.

Data Members

m_p

The pointer data member variable.

Show: