#include <stl_alloc.h>
Collaboration diagram for std::allocator< Type >:

Public Types | |
| typedef size_t | size_type |
| typedef ptrdiff_t | difference_type |
| typedef Type * | pointer |
| typedef const Type * | const_pointer |
| typedef Type & | reference |
| typedef const Type & | const_reference |
| typedef Type | value_type |
| typedef size_t | size_type |
| typedef ptrdiff_t | difference_type |
| typedef Type * | pointer |
| typedef const Type * | const_pointer |
| typedef Type & | reference |
| typedef const Type & | const_reference |
| typedef Type | value_type |
Public Member Functions | |
| allocator () throw () | |
| allocator (const allocator &) throw () | |
| template<typename Type1> | |
| allocator (const allocator< Type1 > &) throw () | |
| ~allocator () throw () | |
| pointer | address (reference x) const |
| const_pointer | address (const_reference x) const |
| Type * | allocate (size_type n, const void *=0) |
| void | deallocate (pointer __p, size_type n) |
| size_type | max_size () const throw () |
| void | construct (pointer __p, const Type &__val) |
| void | destroy (pointer __p) |
| allocator () throw () | |
| allocator (const allocator &a) throw () | |
| template<typename Type1> | |
| allocator (const allocator< Type1, Alloc > &a) throw () | |
| ~allocator () throw () | |
| pointer | address (reference x) const |
| const_pointer | address (const_reference x) const |
| Type * | allocate (size_type n, const void *=0) |
| void | deallocate (pointer __p, size_type n) |
| size_type | max_size () const throw () |
| void | construct (pointer __p, const Type &__val) |
| void | destroy (pointer __p) |
Public Attributes | |
| Alloc | __underlying_alloc |
Private Types | |
| typedef alloc | Alloc |
Classes | |
| struct | rebind |
The private Alloc is "SGI" style. (See comments at the top of stl_alloc.h.)
The underlying allocator behaves as follows.
(See allocators info for more.)
Definition at line 636 of file stl_alloc.h.
1.5.1