std::pmr_pool_options(3cxx)

std::pmr_pool_options3cxx

Parameters for tuning a pool resource's behaviour.

Usage

#include <memory_resource>

Public Attributes

size_t largest_required_pool_block
size_t max_blocks_per_chunk
Upper limit on number of blocks in a chunk.

Detailed Description

Parameters for tuning a pool resource's behaviour.

Member Data Documentation

size_t std::pmr::pool_options::max_blocks_per_chunk

Upper limit on number of blocks in a chunk. A lower value prevents allocating huge chunks that could remain mostly unused, but means pools will need to replenished more frequently.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

Generated automatically by Doxygen for libstdc++ from the source code.

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.