|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <stack_allocator.h>
Classes | |
| struct | rebind |
Public Types | |
| typedef _Tp | value_type |
| typedef value_type * | pointer |
| typedef const _Tp * | const_pointer |
| typedef _Tp & | reference |
| typedef const _Tp & | const_reference |
| typedef size_t | size_type |
| typedef ptrdiff_t | difference_type |
Public Member Functions | |
| StackAllocator (char *beg, char *end) | |
| const State & | getState () const |
| template<class _OtherTp > | |
| StackAllocator (StackAllocator< _OtherTp > const &other) | |
| _Tp * | allocate (size_type n, void *=0) |
| void | deallocate (pointer p, size_type n) |
| pointer | address (reference __x) const |
| const_pointer | address (const_reference __x) const |
| size_type | max_size () const |
| void | construct (pointer __p, const_reference __val) |
| void | destroy (pointer __p) |
| bool | ok () const |
| void | reset () |
| bool | swaped () const |
| void | swap (StackAllocator &other) |
| bool | operator== (StackAllocator const &other) const |
| bool | operator!= (StackAllocator const &other) const |
Private Attributes | |
| State | m_state |
Definition at line 47 of file stack_allocator.h.
| typedef const _Tp* StackAllocator< _Tp >::const_pointer |
Definition at line 58 of file stack_allocator.h.
| typedef const _Tp& StackAllocator< _Tp >::const_reference |
Definition at line 60 of file stack_allocator.h.
| typedef ptrdiff_t StackAllocator< _Tp >::difference_type |
Definition at line 62 of file stack_allocator.h.
| typedef value_type* StackAllocator< _Tp >::pointer |
Definition at line 57 of file stack_allocator.h.
| typedef _Tp& StackAllocator< _Tp >::reference |
Definition at line 59 of file stack_allocator.h.
| typedef size_t StackAllocator< _Tp >::size_type |
Definition at line 61 of file stack_allocator.h.
| typedef _Tp StackAllocator< _Tp >::value_type |
Definition at line 56 of file stack_allocator.h.
|
inline |
Definition at line 68 of file stack_allocator.h.
|
inline |
Definition at line 74 of file stack_allocator.h.
|
inline |
Definition at line 136 of file stack_allocator.h.
|
inline |
Definition at line 135 of file stack_allocator.h.
|
inline |
Definition at line 88 of file stack_allocator.h.
|
inline |
Definition at line 138 of file stack_allocator.h.
|
inline |
Definition at line 119 of file stack_allocator.h.
|
inline |
Definition at line 139 of file stack_allocator.h.
|
inline |
Definition at line 71 of file stack_allocator.h.
|
inline |
Definition at line 137 of file stack_allocator.h.
|
inline |
Definition at line 141 of file stack_allocator.h.
Referenced by DequeTest::allocator_with_state(), HashTest::allocator_with_state(), ListTest::allocator_with_state(), MapTest::allocator_with_state(), SetTest::allocator_with_state(), SlistTest::allocator_with_state(), StringTest::allocator_with_state(), and VectorTest::allocator_with_state().
|
inline |
Definition at line 163 of file stack_allocator.h.
|
inline |
Definition at line 160 of file stack_allocator.h.
|
inline |
Definition at line 142 of file stack_allocator.h.
Referenced by ListTest::allocator_with_state(), SetTest::allocator_with_state(), SlistTest::allocator_with_state(), and StringTest::allocator_with_state().
|
inline |
|
inline |
Definition at line 147 of file stack_allocator.h.
|
private |
Definition at line 167 of file stack_allocator.h.
Referenced by StackAllocator< _Tp >::getState().