auto_ptr< X > Class Template Reference

Implements the draft C++ standard auto_ptr abstraction. More...

#include <Auto_Ptr.h>

Inheritance diagram for auto_ptr< X >:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 auto_ptr (X *p=0)
 auto_ptr (auto_ptr< X > &ap)
X * operator-> () const

Detailed Description

template<class X>
class auto_ptr< X >

Implements the draft C++ standard auto_ptr abstraction.

Definition at line 89 of file Auto_Ptr.h.


Constructor & Destructor Documentation

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

Definition at line 93 of file Auto_Ptr.h.

00093 : ACE_Auto_Basic_Ptr<X> (p) {}

template<class X>
auto_ptr< X >::auto_ptr auto_ptr< X > &  ap  )  [inline]
 

Definition at line 94 of file Auto_Ptr.h.

00094 : ACE_Auto_Basic_Ptr<X> (ap.release()) {}


Member Function Documentation

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

Definition at line 87 of file Auto_Ptr.inl.

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

00088 {
00089   ACE_TRACE ("auto_ptr<X>::operator->");
00090   return this->get ();
00091 }


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