Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

more::gen::allocator Class Template Reference

An allocator which supports default construction without copying. More...

#include <more/gen/memory.h>

List of all members.

Public Types

Public Methods


Detailed Description

template<typename T>
class more::gen::allocator< T >

An allocator which supports default construction without copying.

This is a trivial extension of the STL container.


Member Typedef Documentation

template<typename T>
typedef ::std::allocator<T>::pointer more::gen::allocator::pointer
 


Constructor & Destructor Documentation

template<typename T>
more::gen::allocator< T >::allocator   [inline]
 

No-op construction.

template<typename T>
more::gen::allocator< T >::allocator allocator< T > const &    x [inline]
 

No-op copy construction.

template<typename T>
template<typename U>
more::gen::allocator< T >::allocator allocator< U > const &    x [inline]
 

No-op construction.


Member Function Documentation

template<typename T>
void more::gen::allocator< T >::construct pointer    p [inline]
 

Invoke the default constructor on p.

template<typename T>
pointer more::gen::allocator< T >::copy pointer    p [inline]
 

Returns a deep copy of the object at p.


The documentation for this class was generated from the following file:
Generated on Sat Sep 7 19:12:16 2002 for more with Doxygen 1.2.13.1. Doxygen 1.2.13.1 is written and copyright 1997-2002 by Dimitri van Heesch.