This documentation is archived and is not being maintained.

CComGITPtr::operator =

The assignment operator.

CComGITPtr& operator =(
   T* p 

CComGITPtr& operator =(
   const CComGITPtr& git 

CComGITPtr& operator =(
   DWORD dwCookie 

CComGITPtr& operator =(
   CComGITPtr&& rv

[in] p

A pointer to an interface.

[in] git

A reference to a CComGITPtr object.

[in] dwCookie

A cookie used to identify the interface pointer.

[in] rv

The CComGITPtr to move data from.

Returns the updated CComGITPtr object.

Assigns a new value to a CComGITPtr object, either from an existing object or from a reference to a global interface table.

Header: atlbase.h