Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CComPtrBase Class
Collapse the table of content
Expand the table of content

CComPtrBase Class

This class provides a basis for smart pointer classes using COM-based memory routines.

template <
   class T 
> class CComPtrBase


The object type to be referenced by the smart pointer.

This class provides the basis for other smart pointers which use COM memory management routines, such as CComQIPtr and CComPtr. The derived classes add their own constructors and operators, but rely on the methods provided by CComPtrBase.

Header: atlcomcli.h

Community Additions

© 2015 Microsoft