The default specialization of the allocator_traits for a RawAllocator. More...
#include <wpi/memory/allocator_traits.hpp>
Public Types | |
using | allocator_type = traits_detail::allocator_type<Allocator> |
using | is_stateful |
Static Public Member Functions | |
static void * | allocate_node (allocator_type &state, std::size_t size, std::size_t alignment) |
static void * | allocate_array (allocator_type &state, std::size_t count, std::size_t size, std::size_t alignment) |
static void | deallocate_node (allocator_type &state, void *node, std::size_t size, std::size_t alignment) noexcept |
static void | deallocate_array (allocator_type &state, void *array, std::size_t count, std::size_t size, std::size_t alignment) noexcept |
static std::size_t | max_node_size (const allocator_type &state) |
static std::size_t | max_array_size (const allocator_type &state) |
static std::size_t | max_alignment (const allocator_type &state) |
The default specialization of the allocator_traits for a RawAllocator.
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::allocator_traits< Allocator >::allocator_type = traits_detail::allocator_type<Allocator> |
using wpi::memory::allocator_traits< Allocator >::is_stateful |
|
inlinestatic |
|
inlinestatic |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |