|
Ardour
9.0-pre0-1950-g391fe97693
|
#include <stack_allocator.h>
Classes | |
| struct | rebind |
Public Types | |
| typedef T | value_type |
| typedef std::size_t | size_type |
| typedef std::ptrdiff_t | difference_type |
| typedef value_type * | pointer |
| typedef const value_type * | const_pointer |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
Public Member Functions | |
| StackAllocator () | |
| StackAllocator (const StackAllocator &) | |
| template<typename U , size_t other_capacity> | |
| StackAllocator (const StackAllocator< U, other_capacity > &) | |
| pointer | allocate (size_type n, void *hint=0) |
| void | deallocate (pointer p, size_type n) |
| size_type | max_size () const throw () |
| bool | operator== (StackAllocator const &a) const |
| bool | operator!= (StackAllocator const &a) const |
| template<class U > | |
| void | destroy (U *const p) |
| template<class U > | |
| void | construct (U *const p) |
| template<class U , class A > | |
| void | construct (U *const p, A const &a) |
Private Types | |
| typedef boost::aligned_storage< sizeof(T) *stack_capacity, 16 >::type | align_t |
Private Member Functions | |
| StackAllocator & | operator= (const StackAllocator &) |
| bool | pointer_in_buffer (pointer const p) |
Private Attributes | |
| align_t | _buf |
| pointer | _ptr |
Definition at line 37 of file stack_allocator.h.
|
private |
Definition at line 155 of file stack_allocator.h.
| typedef const value_type* PBD::StackAllocator< T, stack_capacity >::const_pointer |
Definition at line 53 of file stack_allocator.h.
| typedef const value_type& PBD::StackAllocator< T, stack_capacity >::const_reference |
Definition at line 55 of file stack_allocator.h.
| typedef std::ptrdiff_t PBD::StackAllocator< T, stack_capacity >::difference_type |
Definition at line 51 of file stack_allocator.h.
| typedef value_type* PBD::StackAllocator< T, stack_capacity >::pointer |
Definition at line 52 of file stack_allocator.h.
| typedef value_type& PBD::StackAllocator< T, stack_capacity >::reference |
Definition at line 54 of file stack_allocator.h.
| typedef std::size_t PBD::StackAllocator< T, stack_capacity >::size_type |
Definition at line 50 of file stack_allocator.h.
| typedef T PBD::StackAllocator< T, stack_capacity >::value_type |
Definition at line 49 of file stack_allocator.h.
|
inline |
Definition at line 63 of file stack_allocator.h.
|
inline |
Definition at line 67 of file stack_allocator.h.
|
inline |
Definition at line 72 of file stack_allocator.h.
|
inline |
Definition at line 77 of file stack_allocator.h.
|
inline |
Definition at line 128 of file stack_allocator.h.
|
inline |
Definition at line 141 of file stack_allocator.h.
|
inline |
Definition at line 90 of file stack_allocator.h.
|
inline |
Definition at line 122 of file stack_allocator.h.
|
inline | |||||||||||||
Definition at line 106 of file stack_allocator.h.
|
inline |
Definition at line 116 of file stack_allocator.h.
|
private |
|
inline |
Definition at line 111 of file stack_allocator.h.
|
inlineprivate |
Definition at line 150 of file stack_allocator.h.
|
private |
Definition at line 157 of file stack_allocator.h.
|
private |
Definition at line 158 of file stack_allocator.h.