Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

template<class C>
auto_ref_ptr& stdx::auto_ref_ptr< C >::operator= ( C *  a  )  [inline]

Assigns the given pointer to this instance and starts managing it. The reference counter of the object pointed to by a is incremented by one. The reference counter of the object previously managed by this instance is decremented by one.

a Pointer to assign.

Definition at line 170 of file cpputils.h.

{ do_reref (a); return *this; }

Generated by  Doxygen 1.6.0   Back to index