36#ifndef _CHOMP_STRUCT_AUTOARRAY_H_
37#define _CHOMP_STRUCT_AUTOARRAY_H_
An auto_array template that mimics selected behaviors of the std::auto_ptr template,...
~auto_array()
The destructor.
void reset(element_type *p=0)
Resets the object to hold another pointer.
auto_array & operator=(auto_array &a)
Assignment operator.
auto_array(element_type *p=0)
The constructor.
T element_type
The type of the elements in the array.
element_type * release()
Releases the pointer and returns it.
auto_array(auto_array &a)
Copy constructor.
element_type * get() const
Returns the internally stored pointer to an array.
This namespace contains the entire CHomP library interface.