ACE  6.4.2
Public Types | Public Member Functions | List of all members
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> 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]

Public Types

typedef X element_type
 
- Public Types inherited from ACE_Auto_Basic_Ptr< X >
typedef X element_type
 

Public Member Functions

 ACE_Auto_Ptr (X *p=0)
 
X * operator-> () const
 
- Public Member Functions inherited from ACE_Auto_Basic_Ptr< X >
 ACE_Auto_Basic_Ptr (X *p=0)
 
 ACE_Auto_Basic_Ptr (ACE_Auto_Basic_Ptr< X > &ap)
 
ACE_Auto_Basic_Ptr< X > & operator= (ACE_Auto_Basic_Ptr< X > &rhs)
 
 ~ACE_Auto_Basic_Ptr (void)
 
X & operator* () const
 
X * get (void) const
 
X * release (void)
 
void reset (X *p=0)
 
void dump (void) const
 Dump the state of an object. More...
 

Additional Inherited Members

- Public Attributes inherited from ACE_Auto_Basic_Ptr< X >
 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...
 
- Protected Attributes inherited from ACE_Auto_Basic_Ptr< X >
X * p_
 

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>

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename X>
ACE_Auto_Ptr< X >::ACE_Auto_Ptr ( X *  p = 0)
inlineexplicit

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: