Поделиться через


CAutoVectorPtr::operator =

The assignment operator.

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

Параметры

  • 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.

Требования

Header: atlbase.h

См. также

Основные понятия

CAutoVectorPtr Class

CAutoVectorPtr Members

CAutoVectorPtr::Attach

CAutoVectorPtr::Detach