Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

auto_ptr Class Template Reference

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

#include <Auto_Ptr.h>

Inheritance diagram for auto_ptr:

Inheritance graph
[legend]
Collaboration diagram for auto_ptr:

Collaboration graph
[legend]
List of all members.

Public Methods

ACE_EXPLICIT auto_ptr (X *p=0)
X * operator-> () const

Detailed Description

template<class X>
class auto_ptr< X >

Implements the draft C++ standard auto_ptr abstraction.

Definition at line 86 of file Auto_Ptr.h.


Constructor & Destructor Documentation

template<class X>
ACE_EXPLICIT auto_ptr< X >::auto_ptr X *    p = 0 [inline]
 

Definition at line 90 of file Auto_Ptr.h.

00090 : ACE_Auto_Basic_Ptr<X> (p) {}


Member Function Documentation

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

Definition at line 68 of file Auto_Ptr.i.

References ACE_TRACE, and ACE_Auto_Basic_Ptr::get.

00069 {
00070   ACE_TRACE ("auto_ptr<X>::operator->");
00071   return this->get ();
00072 }


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 13:01:18 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002