Honeycomb
0.1
Component-Model Framework
|
std::allocator compatible allocator More...
#include <Allocator.h>
Classes | |
struct | rebind |
Public Types | |
typedef T | value_type |
typedef T * | pointer |
typedef T & | reference |
typedef const T * | const_pointer |
typedef const T & | const_reference |
typedef szt | size_type |
typedef sdt | difference_type |
Public Member Functions | |
pointer | address (reference x) const |
const_pointer | address (const_reference x) const |
size_type | max_size () const |
template<class U , class... Args> | |
void | construct (U *p, Args &&...args) |
template<class U > | |
void | destroy (U *p) |
bool | operator== (const Subclass< T > &) const |
bool | operator!= (const Subclass< T > &) const |
Protected Member Functions | |
Subclass< T > & | subc () |
const Subclass< T > & | subc () const |
std::allocator compatible allocator
Subclass must define:
typedef const T* honey::Allocator< Subclass, T >::const_pointer |
typedef const T& honey::Allocator< Subclass, T >::const_reference |
typedef sdt honey::Allocator< Subclass, T >::difference_type |
typedef T* honey::Allocator< Subclass, T >::pointer |
typedef T& honey::Allocator< Subclass, T >::reference |
typedef szt honey::Allocator< Subclass, T >::size_type |
typedef T honey::Allocator< Subclass, T >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |