WPILibC++ 2025.1.1
|
An alias for memory_pool_collection using the identity_buckets policy and a PoolType
defaulting to node_pool.
More...
#include <wpi/memory/memory_pool_collection.hpp>
Additional Inherited Members | |
Public Types inherited from wpi::memory::memory_pool_collection< node_pool, identity_buckets, default_allocator > | |
using | allocator_type |
using | pool_type |
using | bucket_distribution |
Public Member Functions inherited from wpi::memory::memory_pool_collection< node_pool, identity_buckets, default_allocator > | |
memory_pool_collection (std::size_t max_node_size, std::size_t block_size, Args &&... args) | |
~memory_pool_collection () noexcept=default | |
void * | allocate_node (std::size_t node_size) |
void * | try_allocate_node (std::size_t node_size) noexcept |
void * | allocate_array (std::size_t count, std::size_t node_size) |
void * | try_allocate_array (std::size_t count, std::size_t node_size) noexcept |
void | deallocate_node (void *ptr, std::size_t node_size) noexcept |
bool | try_deallocate_node (void *ptr, std::size_t node_size) noexcept |
void | deallocate_array (void *ptr, std::size_t count, std::size_t node_size) noexcept |
bool | try_deallocate_array (void *ptr, std::size_t count, std::size_t node_size) noexcept |
void | reserve (std::size_t node_size, std::size_t capacity) |
std::size_t | max_node_size () const noexcept |
std::size_t | pool_capacity_left (std::size_t node_size) const noexcept |
std::size_t | capacity_left () const noexcept |
std::size_t | next_capacity () const noexcept |
allocator_type & | get_allocator () noexcept |
memory_pool_collection (memory_pool_collection &&other) noexcept | |
memory_pool_collection & | operator= (memory_pool_collection &&other) noexcept |
An alias for memory_pool_collection using the identity_buckets policy and a PoolType
defaulting to node_pool.