WPILibC++ 2025.1.1
|
The default specialization of the composable_allocator_traits for a ComposableAllocator. More...
#include <wpi/memory/allocator_traits.hpp>
Public Types | |
using | allocator_type = typename allocator_traits<Allocator>::allocator_type |
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 |
The default specialization of the composable_allocator_traits for a ComposableAllocator.
See the last link for the requirements on types that do not specialize this class and the interface documentation. Any specialization must provide the same interface.
using wpi::memory::composable_allocator_traits< Allocator >::allocator_type = typename allocator_traits<Allocator>::allocator_type |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |