std::pmr::pool_options
STD::PMR::POUP[医]备选方案
Defined in header | | |
---|---|---|
struct pool_options; | | (since C++17) |
std::pmr::pool_options
是池资源的一组构造函数选项,包括std::pmr::synchronized_pool_resource
和std::pmr::unsynchronized_pool_resource
...
数据成员
Member | Meaning |
---|---|
std::size_t max_blocks_per_chunk; | std::size_t max_blocks_per_chunk; |
std::size_t max_blocks_per_chunk; | |
std::size_t largest_required_pool_block; | std::size_t largest_required_pool_block; |
std::size_t largest_required_pool_block; | |
另见
synchronized_pool_resource (C++17) | a thread-safe std::pmr::memory_resource for managing allocations in pools of different block sizes (class) |
---|---|
unsynchronized_pool_resource (C++17) | a thread-unsafe std::pmr::memory_resource for managing allocations in pools of different block sizes (class) |
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。