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 >
X * ACE_Auto_Ptr< X >::operator-> (  )  const [inline]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Fri Sep 11 03:56:12 2009 for ACE by  doxygen 1.6.1