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 Types

typedef X element_type

Public Member Functions

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


Detailed Description

template<typename 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.

Member Typedef Documentation

template<typename X>
typedef X ACE_Auto_Ptr< X >::element_type

Reimplemented from ACE_Auto_Basic_Ptr< X >.


Constructor & Destructor Documentation

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


Member Function Documentation

template<class X>
ACE_INLINE X * ACE_Auto_Ptr< X >::operator-> (  )  const [inline]


The documentation for this class was generated from the following files:

Generated on Wed Apr 23 02:38:08 2008 for ACE by  doxygen 1.5.5