Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ixion::auto_destroy_array Class Template Reference

#include <ixlib_array.hh>

Inheritance diagram for ixion::auto_destroy_array::

ixion::tracking_array ixion::array List of all members.

Public Methods

 auto_destroy_array (Allocator const &alloc=Allocator())
 auto_destroy_array (size_type cap, Allocator const &alloc=Allocator())
 auto_destroy_array (auto_destroy_array &source)
virtual ~auto_destroy_array ()
auto_destroy_array & operator= (auto_destroy_array &source)
virtual void allocate (size_type cap)
virtual void deallocate ()

Detailed Description

template<class T, class Allocator = std::allocator<T>>
class ixion::auto_destroy_array< T, Allocator >

An array object that automatically deallocates the storage it allocates, as well as calls the appropriate constructors at the right times.

Definition at line 252 of file ixlib_array.hh.


Constructor & Destructor Documentation

template<class T, class Allocator = std::allocator<T>>
ixion::auto_destroy_array< T, Allocator >::auto_destroy_array Allocator const &    alloc = Allocator() [inline]
 

Definition at line 256 of file ixlib_array.hh.

template<class T, class Allocator = std::allocator<T>>
ixion::auto_destroy_array< T, Allocator >::auto_destroy_array size_type    cap,
Allocator const &    alloc = Allocator()
[inline]
 

Definition at line 259 of file ixlib_array.hh.

template<class T, class Allocator = std::allocator<T>>
ixion::auto_destroy_array< T, Allocator >::auto_destroy_array auto_destroy_array< T, Allocator > &    source [inline]
 

Definition at line 262 of file ixlib_array.hh.

template<class T, class Allocator = std::allocator<T>>
virtual ixion::auto_destroy_array< T, Allocator >::~auto_destroy_array   [inline, virtual]
 

Definition at line 265 of file ixlib_array.hh.


Member Function Documentation

template<class T, class Allocator = std::allocator<T>>
virtual void ixion::auto_destroy_array< T, Allocator >::allocate size_type    cap [inline, virtual]
 

Reimplemented from ixion::tracking_array.

Definition at line 278 of file ixlib_array.hh.

template<class T, class Allocator = std::allocator<T>>
virtual void ixion::auto_destroy_array< T, Allocator >::deallocate   [inline, virtual]
 

Reimplemented from ixion::tracking_array.

Definition at line 283 of file ixlib_array.hh.

template<class T, class Allocator = std::allocator<T>>
auto_destroy_array& ixion::auto_destroy_array< T, Allocator >::operator= auto_destroy_array< T, Allocator > &    source [inline]
 

Definition at line 270 of file ixlib_array.hh.


The documentation for this class was generated from the following file:
Generated on Wed Oct 31 17:12:25 2001 for ixlib by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001