DHART
|
#include <nanort.h>
Classes | |
struct | rebind |
struct | Source |
Public Types | |
typedef std::allocator< T >::pointer | pointer |
typedef std::allocator< T >::size_type | size_type |
Public Member Functions | |
StackAllocator (const StackAllocator< T, stack_capacity > &rhs) | |
template<typename U , size_t other_capacity> | |
StackAllocator (const StackAllocator< U, other_capacity > &other) | |
StackAllocator (Source *source) | |
pointer | allocate (size_type n, void *hint=0) |
void | deallocate (pointer p, size_type n) |
Private Attributes | |
Source * | source_ |
struct nanort::StackAllocator::rebind |
Class Members | ||
---|---|---|
typedef StackAllocator< U, stack_capacity > | other |
typedef std::allocator<T>::pointer nanort::StackAllocator< T, stack_capacity >::pointer |
typedef std::allocator<T>::size_type nanort::StackAllocator< T, stack_capacity >::size_type |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
Definition at line 202 of file nanort.h.
References nanort::StackAllocator< T, stack_capacity >::source_, nanort::StackAllocator< T, stack_capacity >::Source::stack_buffer(), and nanort::StackAllocator< T, stack_capacity >::Source::used_stack_buffer_.
|
inline |
Definition at line 215 of file nanort.h.
References nanort::StackAllocator< T, stack_capacity >::source_, nanort::StackAllocator< T, stack_capacity >::Source::stack_buffer(), and nanort::StackAllocator< T, stack_capacity >::Source::used_stack_buffer_.
|
private |
Definition at line 223 of file nanort.h.
Referenced by nanort::StackAllocator< T, stack_capacity >::allocate(), and nanort::StackAllocator< T, stack_capacity >::deallocate().