16 #ifndef BLOOMBERG_QUANTUM_STACK_ALLOCATOR_H 17 #define BLOOMBERG_QUANTUM_STACK_ALLOCATOR_H 19 #include <quantum/quantum_contiguous_pool_manager.h> 33 template <
typename T,
unsigned int SIZE>
50 typedef std::aligned_storage<
sizeof(
value_type),
89 #endif //BLOOMBERG_QUANTUM_STACK_ALLOCATOR_H Provides fast (quasi zero-time) in-place allocation for STL containers. Objects are allocated from a ...
Definition: quantum_contiguous_pool_manager.h:40
Definition: quantum_buffer_impl.h:22
static StackAllocator select_on_container_copy_construction(const StackAllocator &)
Definition: quantum_stack_allocator.h:66
StackAllocator(const this_type &)
Definition: quantum_stack_allocator.h:62
std::ptrdiff_t difference_type
Definition: quantum_stack_allocator.h:44
StackAllocator(const StackAllocator< U, SIZE > &)
Definition: quantum_stack_allocator.h:70
value_type & reference
Definition: quantum_stack_allocator.h:41
bool operator==(const this_type &) const
Definition: quantum_stack_allocator.h:75
std::true_type default_constructor
Definition: quantum_stack_allocator.h:49
StackAllocator & operator=(const StackAllocator< U, SIZE > &)
Definition: quantum_stack_allocator.h:73
value_type * pointer
Definition: quantum_stack_allocator.h:39
StackAllocator< U, SIZE > other
Definition: quantum_stack_allocator.h:57
Provides a stack-based object pool to the underlying ContiguousPoolManager. The default buffer size i...
Definition: quantum_stack_allocator.h:34
T value_type
Definition: quantum_stack_allocator.h:38
T value_type
Definition: quantum_contiguous_pool_manager.h:44
StackAllocator & operator=(const this_type &)
Definition: quantum_stack_allocator.h:64
StackAllocator()
Definition: quantum_stack_allocator.h:60
const value_type * const_pointer
Definition: quantum_stack_allocator.h:40
std::false_type is_always_equal
Definition: quantum_stack_allocator.h:48
bool operator!=(const this_type &) const
Definition: quantum_stack_allocator.h:78
std::false_type propagate_on_container_swap
Definition: quantum_stack_allocator.h:47
Definition: quantum_stack_allocator.h:55
StackAllocator< T, SIZE > this_type
Definition: quantum_stack_allocator.h:37
std::false_type propagate_on_container_copy_assignment
Definition: quantum_stack_allocator.h:46
std::aligned_storage< sizeof(value_type), alignof(value_type)> storage_type
Definition: quantum_stack_allocator.h:51
std::false_type propagate_on_container_move_assignment
Definition: quantum_stack_allocator.h:45
size_t size_type
Definition: quantum_stack_allocator.h:43
storage_type::type aligned_type
Definition: quantum_stack_allocator.h:52
const value_type & const_reference
Definition: quantum_stack_allocator.h:42