Freigeben über


CAutoVectorPtr::operator =

The assignment operator.

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

Parameters

  • p
    A pointer.

Return Value

Returns a reference to a CAutoVectorPtr< T >.

Remarks

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

Requirements

Header: atlbase.h

See Also

Reference

CAutoVectorPtr Class

CAutoVectorPtr::Attach

CAutoVectorPtr::Detach

Other Resources

CAutoVectorPtr Members