Allocator Builder
Policy Based C++ Template Allocator Library
|
#include <allocator_base.hpp>
Public Member Functions | |
block (void *ptr, size_t length) noexcept | |
block (block &&x) noexcept | |
block & | operator= (block &&x) noexcept |
block & | operator= (const block &x) noexcept=default |
block (const block &x) noexcept=default | |
~block () | |
void | reset () noexcept |
operator bool () const | |
bool | operator== (const block &rhs) const |
Public Attributes | |
void * | ptr |
size_t | length |
The value type to describe a memory block and it's length
Definition at line 26 of file allocator_base.hpp.
|
inline |
During destruction of any of this instance, the described memory is not freed!
Definition at line 59 of file allocator_base.hpp.
|
inlineexplicit |
Bool operator to make the Allocator code better readable
Definition at line 75 of file allocator_base.hpp.
|
inlinenoexcept |
Clears the block
Definition at line 66 of file allocator_base.hpp.