ACE_Auto_Ptr< X > Class Template Reference

Implements the draft C++ standard auto_ptr abstraction. This version can be used instead of auto_ptr<T>, and obviates the need for the ACE_AUTO_PTR_RESET macro on platforms like VC6 where the auto_ptr<T> is broken. More...

#include <Auto_Ptr.h>

Inheritance diagram for ACE_Auto_Ptr< X >:

Inheritance graph
[legend]
Collaboration diagram for ACE_Auto_Ptr< X >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ACE_Auto_Ptr (X *p=0)
X * operator-> () const

Detailed Description

template<class X>
class ACE_Auto_Ptr< X >

Implements the draft C++ standard auto_ptr abstraction. This version can be used instead of auto_ptr<T>, and obviates the need for the ACE_AUTO_PTR_RESET macro on platforms like VC6 where the auto_ptr<T> is broken.

Definition at line 110 of file Auto_Ptr.h.


Constructor & Destructor Documentation

template<class X>
ACE_Auto_Ptr< X >::ACE_Auto_Ptr X *  p = 0  )  [inline, explicit]
 

Definition at line 114 of file Auto_Ptr.h.

00114 : ACE_Auto_Basic_Ptr<X> (p) {}


Member Function Documentation

template<class X>
ACE_INLINE X * ACE_Auto_Ptr< X >::operator->  )  const
 

Definition at line 96 of file Auto_Ptr.inl.

References ACE_TRACE, and ACE_Auto_Basic_Ptr< X >::get().

00097 {
00098   ACE_TRACE ("ACE_Auto_Ptr<X>::operator->");
00099   return this->get ();
00100 }


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:20:15 2006 for ACE by doxygen 1.3.6