Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic


The constructor.

CComGITPtr( ) throw( ); 

   T* p 

   const CComGITPtr& git 

explicit CComGITPtr(
   DWORD dwCookie 
) throw( );

   CComGITPtr&& rv
[in] p

An interface pointer to be stored in the global interface table (GIT).

[in] git

A reference to an existing CComGITPtr object.

[in] dwCookie

A cookie used to identify the interface pointer.

[in] rv

The source CComGITPtr object to move data from.

Creates a new CComGITPtr object, optionally using an existing CComGITPtr object.

The constructor utilizing rv is a move constructor. The data is moved from the source, rv, and then rv is cleared.

Header: atlbase.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.