auto_array Class Template Reference

Like std::auto_ptr, but with delete[]. More...

#include <auto_array.h>

List of all members.

Public Types

typedef T element_type
typedef T *this_type::* unspecified_bool_type

Public Member Functions

 auto_array (T *p=0)
 auto_array (auto_array const &other)
auto_arrayoperator= (auto_array const &other)
void reset (T *p=0)
T * release ()
T & operator[] (std::ptrdiff_t i) const
T * get () const
 operator unspecified_bool_type () const
bool operator! () const
void swap (auto_array &other)


Detailed Description

template<typename T>
class scitbx::auto_array< T >

Like std::auto_ptr, but with delete[].
The documentation for this class was generated from the following file:

Generated on Tue Sep 1 17:12:35 2009 for cctbx by  doxygen 1.5.6