std::pmr::pool_options
From cppreference.com
C++
Memory management library
|
|
|
Defined in header <memory_resource>
|
||
struct pool_options; |
(since C++17) | |
std::pmr::pool_options
is a set of constructor options for pool resources including std::pmr::synchronized_pool_resource and std::pmr::unsynchronized_pool_resource
Data members
Member | Meaning | ||||||
|
The maximum number of blocks that will be allocated at once from the upstream std::pmr::memory_resource to replenish the pool. If the value of max_blocks_per_chunk
|
||||||
|
The largest allocation size that is required to be fulfilled using the pooling mechanism. Attempts to allocate a single block larger than this threshold will be allocated directly from the upstream std::pmr::memory_resource. If largest_required_pool_block
|
See also
(C++17)
|
a thread-safe std::pmr::memory_resource for managing allocations in pools of different block sizes (class) |
(C++17)
|
a thread-unsafe std::pmr::memory_resource for managing allocations in pools of different block sizes (class) |