class
StdStaticAlloc
template<int BlockSize, class T>Allocator for the standard library that internally uses a static allocator.
Public
Constructors
StdStaticAlloc<BlockSize, T>
StdStaticAlloc<BlockSize, T>() = default
StdStaticAlloc<BlockSize, T>
Methods
allocate
T *allocate(const size_t num) const
Allocate but don't initialize number elements of type T.
deallocate
void deallocate(T *p, size_t num) const noexcept
Deallocate storage p of deleted elements.
max_size
size_t max_size() const
construct
void construct(pointer p, const_reference t)
destroy
void destroy(pointer p)
Fields
mStaticAlloc
StaticAlloc<BlockSize, FreeAlloc> * mStaticAlloc