xentara-plugin v1.2.1
The Xentara Plugin Framework
|
A size and an alignment. More...
#include <memory/MemoryResource.hpp>
Public Member Functions | |
BlockTraits (std::size_t size) | |
BlockTraits (std::size_t size, std::align_val_t alignment) | |
auto | size () const noexcept -> std::size_t |
Gets the size of the bock. | |
auto | alignment () const noexcept -> std::size_t |
Gets the alignment of the bock. | |
A size and an alignment.
xentara::memory::MemoryResource::BlockHandler::BlockTraits::BlockTraits | ( | std::size_t | size | ) |
xentara::memory::MemoryResource::BlockHandler::BlockTraits::BlockTraits | ( | std::size_t | size, |
std::align_val_t | alignment | ||
) |
|
noexcept |
Gets the alignment of the bock.
|
noexcept |
Gets the size of the bock.