![]() |
WPILibC++ 2025.3.2
|
Specialization of the composable_allocator_traits for memory_pool_collection classes. More...
#include <wpi/memory/memory_pool_collection.hpp>
Public Types | |
using | allocator_type = memory_pool_collection<Pool, BucketDist, RawAllocator> |
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_collection classes.
using wpi::memory::composable_allocator_traits< memory_pool_collection< Pool, BucketDist, RawAllocator > >::allocator_type = memory_pool_collection<Pool, BucketDist, RawAllocator> |
|
inlinestaticnoexcept |
nullptr
if the allocation size was too big.
|
inlinestaticnoexcept |
nullptr
if the allocation size was too big.
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |