ACE  6.1.0
Public Types | Public Member Functions
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 Types

typedef X element_type

Public Member Functions

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

Detailed Description

template<typename X>
class auto_ptr< X >

Implements the draft C++ standard auto_ptr abstraction.


Member Typedef Documentation

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

Reimplemented from ACE_Auto_Basic_Ptr< X >.


Constructor & Destructor Documentation

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

Member Function Documentation

template<class X >
X * 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