Share via


CAutoVectorPtr::CAutoVectorPtr

The constructor.

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

Reference

CAutoVectorPtr Class

CAutoVectorPtr::~CAutoVectorPtr