CAutoVectorPtr::CAutoVectorPtr

 

The constructor.

Syntax

      CAutoVectorPtr( ) throw( ); 
explicit CAutoVectorPtr(
   T* p 
) throw( );
CAutoVectorPtr(
   CAutoVectorPtr< T >& p 
) throw( );

Parameters

  • p
    An existing pointer.

Remarks

The CAutoVectorPtr object can be created using an existing pointer, in which case it transfers ownership of the pointer.

Requirements

Header: atlbase.h

See Also

CAutoVectorPtr Class
CAutoVectorPtr::~CAutoVectorPtr