CComPtrBase Class

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

template <
   class T 
> class CComPtrBase


  • T
    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

See Also

Other Resources

CComPtrBase Members

ATL Class Overview