![]() |
Allocators
|
Represents an allocated memory block. More...
#include <memory_block.hpp>
Public Member Functions | |
operator std::uint8_t * () const | |
Implicitly converts the structure to the underlying block address. More... | |
bool | operator== (const memory_block &other) const |
Checks if memory blocks are identical. More... | |
Public Attributes | |
void * | address |
std::size_t | size |
Block's size. | |
Represents an allocated memory block.
An allocated memory block points at the address at which is has been allocated as well as size of this block.
Definition at line 20 of file memory_block.hpp.
|
inline |
Implicitly converts the structure to the underlying block address.
Definition at line 37 of file memory_block.hpp.
|
inline |
Checks if memory blocks are identical.
other | A reference to another memory_block. |
Definition at line 48 of file memory_block.hpp.
void* boost::memory::memory_block::address |
Block's address.
Definition at line 25 of file memory_block.hpp.
Referenced by boost::memory::null_allocator::deallocate(), boost::memory::stack_allocator< capacity, alignment >::deallocate(), boost::memory::mallocator::deallocate(), boost::memory::free_list< allocator, batch_size, min, max, capacity >::deallocate(), operator std::uint8_t *(), operator==(), boost::memory::null_allocator::owns(), and boost::memory::mallocator::owns().