#include <stlsoft/memory/null_allocator.hpp>

| T | The value_type of the allocator |
std::bad_alloc for any allocation request (even if the requested size is 0). When exception support is not enabled, requesting memory from this class is a contract violation, and an enforcement will fire (if contract programming enforcement is enabled). Public Types | |
| typedef null_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 | |
| null_allocator () throw () | |
| Default constructor. | |
| null_allocator (class_type const &) | |
| Copy constructor. | |
| typedef null_allocator<T> class_type |
The parameterisation of the class.
Reimplemented from allocator_base.
Reimplemented in static_array_1d, static_array_2d, static_array_3d, and static_array_4d.
The value type.
Reimplemented from allocator_base.
Reimplemented in static_array_1d, static_array_2d, static_array_3d, and static_array_4d.
| typedef parent_class_type::pointer pointer |
The pointer type.
Reimplemented from allocator_base.
Reimplemented in static_array_1d, static_array_2d, static_array_3d, and static_array_4d.
The non-mutating (const) pointer type.
Reimplemented from allocator_base.
Reimplemented in static_array_1d, static_array_2d, static_array_3d, and static_array_4d.
The reference type.
Reimplemented from allocator_base.
Reimplemented in static_array_1d, static_array_2d, static_array_3d, and static_array_4d.
The non-mutating (const) reference type.
Reimplemented from allocator_base.
Reimplemented in static_array_1d, static_array_2d, static_array_3d, and static_array_4d.
The difference type.
Reimplemented from allocator_base.
Reimplemented in static_array_1d, static_array_2d, static_array_3d, and static_array_4d.
The size type.
Reimplemented from allocator_base.
Reimplemented in static_array_1d, static_array_2d, static_array_3d, and static_array_4d.
| null_allocator | ( | ) | throw () [inline] |
Default constructor.
| null_allocator | ( | class_type const & | ) | [inline] |
Copy constructor.
1.5.6