#include <scalable_allocator.h>
Public Types | |
typedef T * | pointer |
typedef const T * | const_pointer |
typedef T & | reference |
typedef const T & | const_reference |
typedef T | value_type |
typedef size_t | size_type |
typedef ptrdiff_t | difference_type |
Public Member Functions | |
scalable_allocator (const scalable_allocator &) throw () | |
template<typename U> | |
scalable_allocator (const scalable_allocator< U > &) throw () | |
pointer | address (reference x) const |
const_pointer | address (const_reference x) const |
pointer | allocate (size_type n, const void *=0) |
Allocate space for n objects. | |
void | deallocate (pointer p, size_type) |
Free previously allocated block of memory. | |
size_type | max_size () const throw () |
Largest value for which method allocate might succeed. | |
void | construct (pointer p, const T &val) |
void | destroy (pointer p) |
The members are ordered the same way they are in section 20.4.1 of the ISO C++ standard.