new_allocator Class Template Reference
[Memory Library]

#include <stlsoft/memory/new_allocator.hpp>

Inheritance diagram for new_allocator:

allocator_base

List of all members.


Detailed Description

template<typename T>
class stlsoft::new_allocator< T >

STL Allocator based on operators new and delete.

Parameters:
T The value_type of the allocator

Public Types

typedef new_allocator< T > class_type
 The parameterisation of the class.
typedef
parent_class_type::value_type 
value_type
 The value type.
typedef parent_class_type::pointer pointer
 The pointer type.
typedef
parent_class_type::const_pointer 
const_pointer
 The non-mutating (const) pointer type.
typedef
parent_class_type::reference 
reference
 The reference type.
typedef
parent_class_type::const_reference 
const_reference
 The non-mutating (const) reference type.
typedef
parent_class_type::difference_type 
difference_type
 The difference type.
typedef
parent_class_type::size_type 
size_type
 The size type.

Public Member Functions

Construction
 new_allocator () throw ()
 Default constructor.
 new_allocator (class_type const &)
 Copy constructor.

Member Typedef Documentation

The parameterisation of the class.

Reimplemented from allocator_base.

The value type.

Reimplemented from allocator_base.

The pointer type.

Reimplemented from allocator_base.

The non-mutating (const) pointer type.

Reimplemented from allocator_base.

The reference type.

Reimplemented from allocator_base.

The non-mutating (const) reference type.

Reimplemented from allocator_base.

The difference type.

Reimplemented from allocator_base.

The size type.

Reimplemented from allocator_base.


Constructor & Destructor Documentation

new_allocator (  )  throw () [inline]

Default constructor.

new_allocator ( class_type const &   )  [inline]

Copy constructor.


The documentation for this class was generated from the following file:

Generated on Thu Jun 10 08:58:53 2010 for STLSoft by  doxygen 1.5.6