std::pmr::synchronized_pool_resource::options

From cppreference.com
 
 
Memory management library
(exposition only*)
Uninitialized memory algorithms
(C++17)
(C++17)
(C++17)
Constrained uninitialized
memory algorithms
C Library

Allocators
Memory resources
Garbage collection support
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
(C++11)(until C++23)
Uninitialized storage
(until C++20*)
(until C++20*)
Explicit lifetime management
 
 
std::pmr::pool_options options() const;
(since C++17)

Returns the options that controls the pooling behavior of this resource.

The values in the returned struct may differ from those supplied to the constructor in the following ways:

  • Values of zero will be replaced with implementation-specified defaults;
  • Sizes may be rounded to an unspecified granularity.

See also

constructs a synchronized_pool_resource
(public member function)