Inheritance diagram for allocator_base:

For internal use only.
Defines the common members of memory-based allocators. This eases the definition of allocator classes.
| T | The allocated type. |
Public Types | |
| typedef const T * | const_pointer |
| Pointer to access value. | |
| typedef const T & | const_reference |
| Reference to access value. | |
| typedef std::ptrdiff_t | difference_type |
| Represents difference between pointers. | |
| typedef T * | pointer |
| Pointer to access and change value. | |
| typedef T & | reference |
| Reference to access and change value. | |
| typedef std::size_t | size_type |
| Represents size of allocation. | |
| typedef T | value_type |
| The allocated type. | |
Static Public Member Functions | |
| static const_pointer | address (const_reference x) |
| Gets the memory address for x. | |
| static pointer | address (reference x) |
| Gets the memory address for x. | |
| static void | construct (pointer ptr, const T &val) |
| Constructs a copy of val at address ptr. | |
| static void | destroy (pointer ptr) |
| Destructs the value at address ptr. | |
| static size_type | max_size () throw () |
| Gets the largest value that can be allocated. | |