Share via


CHeapPtrBase::operator ->

The pointer-to-member operator.

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

Return Value

Returns the value of the CHeapPtrBase::m_pData member variable.

Remarks

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

Requirements

Header: atlcoll.h

See Also

Reference

CHeapPtrBase Class

Other Resources

CHeapPtrBase Members