#include <std_singleton_allocator.h>
Classes | |
struct | rebind |
Public Types | |
typedef const T * | const_pointer |
typedef const T & | const_reference |
typedef ptrdiff_t | difference_type |
typedef T * | pointer |
typedef T & | reference |
typedef size_t | size_type |
typedef T | value_type |
Public Member Functions | |
const_pointer | addres (const_reference v) const |
pointer | address (reference v) const |
pointer | allocate (size_type n) |
void | construct (pointer p, const_reference v) const |
void | deallocate (pointer obj, size_type n) |
void | destroy (pointer p) const |
size_t | max_size () const |
StdSingletonAllocator () | |
StdSingletonAllocator (const StdSingletonAllocator< T > &a) | |
template<class U > | |
StdSingletonAllocator (const StdSingletonAllocator< U > &) | |
~StdSingletonAllocator () | |
Private Attributes | |
StdSingletonAllocatorInstance < T > * | allocator_ |
Definition at line 90 of file std_singleton_allocator.h.
typedef const T* megatree::StdSingletonAllocator< T >::const_pointer |
Definition at line 98 of file std_singleton_allocator.h.
typedef const T& megatree::StdSingletonAllocator< T >::const_reference |
Definition at line 100 of file std_singleton_allocator.h.
typedef ptrdiff_t megatree::StdSingletonAllocator< T >::difference_type |
Definition at line 96 of file std_singleton_allocator.h.
typedef T* megatree::StdSingletonAllocator< T >::pointer |
Definition at line 97 of file std_singleton_allocator.h.
typedef T& megatree::StdSingletonAllocator< T >::reference |
Definition at line 99 of file std_singleton_allocator.h.
typedef size_t megatree::StdSingletonAllocator< T >::size_type |
Definition at line 95 of file std_singleton_allocator.h.
typedef T megatree::StdSingletonAllocator< T >::value_type |
Definition at line 101 of file std_singleton_allocator.h.
megatree::StdSingletonAllocator< T >::StdSingletonAllocator | ( | ) | [inline] |
Definition at line 105 of file std_singleton_allocator.h.
megatree::StdSingletonAllocator< T >::StdSingletonAllocator | ( | const StdSingletonAllocator< T > & | a | ) | [inline] |
Definition at line 108 of file std_singleton_allocator.h.
megatree::StdSingletonAllocator< T >::StdSingletonAllocator | ( | const StdSingletonAllocator< U > & | ) | [inline] |
Definition at line 114 of file std_singleton_allocator.h.
megatree::StdSingletonAllocator< T >::~StdSingletonAllocator | ( | ) | [inline] |
Definition at line 120 of file std_singleton_allocator.h.
const_pointer megatree::StdSingletonAllocator< T >::addres | ( | const_reference | v | ) | const [inline] |
Definition at line 129 of file std_singleton_allocator.h.
pointer megatree::StdSingletonAllocator< T >::address | ( | reference | v | ) | const [inline] |
Definition at line 123 of file std_singleton_allocator.h.
pointer megatree::StdSingletonAllocator< T >::allocate | ( | size_type | n | ) | [inline] |
Definition at line 142 of file std_singleton_allocator.h.
void megatree::StdSingletonAllocator< T >::construct | ( | pointer | p, |
const_reference | v | ||
) | const [inline] |
Definition at line 154 of file std_singleton_allocator.h.
void megatree::StdSingletonAllocator< T >::deallocate | ( | pointer | obj, |
size_type | n | ||
) | [inline] |
Definition at line 148 of file std_singleton_allocator.h.
void megatree::StdSingletonAllocator< T >::destroy | ( | pointer | p | ) | const [inline] |
Definition at line 160 of file std_singleton_allocator.h.
size_t megatree::StdSingletonAllocator< T >::max_size | ( | ) | const [inline] |
Definition at line 135 of file std_singleton_allocator.h.
StdSingletonAllocatorInstance<T>* megatree::StdSingletonAllocator< T >::allocator_ [private] |
Definition at line 167 of file std_singleton_allocator.h.