Partager via


CComPtrBase Class

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

template <
   class T 
> class CComPtrBase

Parameters

  • T
    The object type to be referenced by the smart pointer.

Remarks

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.

Requirements

Header: atlcomcli.h

See Also

Other Resources

CComPtrBase Members

ATL Class Overview