CComPtrBase::operator ->

The pointer-to-member operator.

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

Return Value

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

Remarks

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

See Also

Reference

CComPtrBase Class

Other Resources

CComPtrBase Members