ACE
6.4.2
|
Implements an extension to the draft C++ standard auto_ptr abstraction. This class allows one to work on non-object (basic) types that must be treated as an array, e.g., deallocated via "delete [] foo". More...
#include <Auto_Ptr.h>
Public Types | |
typedef X | element_type |
Public Member Functions | |
ACE_Auto_Basic_Array_Ptr (X *p=0) | |
ACE_Auto_Basic_Array_Ptr (ACE_Auto_Basic_Array_Ptr< X > &ap) | |
ACE_Auto_Basic_Array_Ptr< X > & | operator= (ACE_Auto_Basic_Array_Ptr< X > &rhs) |
~ACE_Auto_Basic_Array_Ptr (void) | |
X & | operator* () const |
X & | operator[] (int i) const |
X * | get (void) const |
X * | release (void) |
void | reset (X *p=0) |
void | dump (void) const |
Dump the state of an object. More... | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. More... | |
Protected Attributes | |
X * | p_ |
Implements an extension to the draft C++ standard auto_ptr abstraction. This class allows one to work on non-object (basic) types that must be treated as an array, e.g., deallocated via "delete [] foo".
typedef X ACE_Auto_Basic_Array_Ptr< X >::element_type |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
Dump the state of an object.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
ACE_Auto_Basic_Array_Ptr< X >::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
|
protected |