This documentation is archived and is not being maintained.

CAutoVectorPtr::operator = 

The assignment operator.


CAutoVectorPtr< T >& operator =(
   CAutoVectorPtr< T >& p 
) throw( );

Parameters

p

A pointer.

Returns a reference to a CAutoVectorPtr< T >.

The assignment operator detaches the CAutoVectorPtr object from any current pointer and attaches the new pointer, p, in its place.

Show: