The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CAutoPtr::operator ->


The pointer-to-member operator.

T * operator ->( ) const throw( );

Returns the value of the CAutoPtr::m_p data member variable.

Use this operator to call a method in a class pointed to by the CAutoPtr object. In debug builds, an assertion failure will occur if the CAutoPtr points to NULL.


See the example in the CAutoPtr Overview.


Header: atlbase.h