Information
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.

CComPtrBase::operator ->

 

The pointer-to-member operator.


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

Returns the value of the CComPtrBase::p data member variable.

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

Requirements

Header: atlcomcli.h

Show: