![]() |
WPILibC++ 2025.3.2
|
Specialization of the composable_allocator_traits for memory_pool classes. More...
#include <wpi/memory/memory_pool.hpp>
Public Types | |
using | allocator_type = memory_pool<PoolType, BlockOrRawAllocator> |
Static Public Member Functions | |
static void * | try_allocate_node (allocator_type &state, std::size_t size, std::size_t alignment) noexcept |
static void * | try_allocate_array (allocator_type &state, std::size_t count, std::size_t size, std::size_t alignment) noexcept |
static bool | try_deallocate_node (allocator_type &state, void *node, std::size_t size, std::size_t alignment) noexcept |
static bool | try_deallocate_array (allocator_type &state, void *array, std::size_t count, std::size_t size, std::size_t alignment) noexcept |
Specialization of the composable_allocator_traits for memory_pool classes.
using wpi::memory::composable_allocator_traits< memory_pool< PoolType, BlockOrRawAllocator > >::allocator_type = memory_pool<PoolType, BlockOrRawAllocator> |
|
inlinestaticnoexcept |
size
is less than the memory_pool::node_size(). nullptr
if it was unable to allocate.
|
inlinestaticnoexcept |
nullptr
if the allocation size was too big.
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |