Flow123d
3.9.0-895a22dee
|
#include <simple_allocator.hh>
Classes | |
struct | rebind |
Public Types | |
typedef size_t | size_type |
typedef ptrdiff_t | difference_type |
typedef T * | pointer |
typedef T & | reference |
typedef T | value_type |
Public Member Functions | |
SimpleAllocator () | |
SimpleAllocator (const SimpleAllocator &) | |
pointer | allocate (size_type n, const void *=0) |
void | deallocate (void *p, size_type) |
pointer | address (reference x) const |
const_pointer | address (const_reference x) const |
SimpleAllocator< T > & | operator= (const SimpleAllocator &) |
void | construct (pointer p, const T &val) |
void | destroy (pointer p) |
size_type | max_size () const |
template<class U > | |
SimpleAllocator (const SimpleAllocator< U > &) | |
template<class U > | |
SimpleAllocator & | operator= (const SimpleAllocator< U > &) |
Public Attributes | |
const typedef T * | const_pointer |
const typedef T & | const_reference |
Simple allocator which uses default malloc and free functions. Fields allocated with this allocator will not be included in overall memory consumption.
Definition at line 28 of file simple_allocator.hh.
typedef ptrdiff_t internal::SimpleAllocator< T >::difference_type |
Definition at line 31 of file simple_allocator.hh.
typedef T* internal::SimpleAllocator< T >::pointer |
Definition at line 32 of file simple_allocator.hh.
typedef T& internal::SimpleAllocator< T >::reference |
Definition at line 34 of file simple_allocator.hh.
typedef size_t internal::SimpleAllocator< T >::size_type |
Definition at line 30 of file simple_allocator.hh.
typedef T internal::SimpleAllocator< T >::value_type |
Definition at line 36 of file simple_allocator.hh.
|
inline |
Definition at line 38 of file simple_allocator.hh.
|
inline |
Definition at line 40 of file simple_allocator.hh.
|
inline |
Definition at line 72 of file simple_allocator.hh.
|
inline |
Definition at line 56 of file simple_allocator.hh.
|
inline |
Definition at line 54 of file simple_allocator.hh.
|
inline |
Definition at line 43 of file simple_allocator.hh.
|
inline |
Definition at line 60 of file simple_allocator.hh.
|
inline |
Definition at line 48 of file simple_allocator.hh.
|
inline |
Definition at line 62 of file simple_allocator.hh.
|
inline |
Definition at line 64 of file simple_allocator.hh.
|
inline |
Definition at line 58 of file simple_allocator.hh.
|
inline |
Definition at line 75 of file simple_allocator.hh.
const typedef T* internal::SimpleAllocator< T >::const_pointer |
Definition at line 33 of file simple_allocator.hh.
const typedef T& internal::SimpleAllocator< T >::const_reference |
Definition at line 35 of file simple_allocator.hh.