Partager via


CComGITPtr::operator =

The assignment operator.

CComGITPtr& operator =(
   T* p 
);

CComGITPtr& operator =(
   const CComGITPtr& git 
);

CComGITPtr& operator =(
   DWORD dwCookie 
);

CComGITPtr& operator =(
   CComGITPtr&& rv
);

Parameters

  • [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.

Return Value

Returns the updated CComGITPtr object.

Remarks

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

Requirements

Header: atlbase.h

See Also

Reference

CComGITPtr Class