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

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

Creates an instance that starts managing the given pointer. The reference counter of the object pointed to by a is incremented by one.

a Pointer to manage.

Definition at line 149 of file cpputils.h.

: m (a) { if (m) m->ref(); }

Generated by  Doxygen 1.6.0   Back to index