Allocator Builder
Policy Based C++ Template Allocator Library
|
#include <stack.hpp>
Public Types | |
using | value_type = T |
Public Member Functions | |
bool | push (T v) noexcept |
bool | pop (T &v) noexcept |
bool | empty () const noexcept |
Static Public Attributes | |
static const size_t | max_size = MaxSize |
Simple stack with the same interface as boost::lockfree::stack with a fixed number of elements It's intend is to be used as not shared variant in the FreeList
T | The element type to be put into the stack |
MaxSize | The maximum number of elements that can be put into the stack |