Namespaces
Variants

std::pmr::unsynchronized_pool_resource:: options

From cppreference.net
Memory management library
( exposition only* )
Allocators
Uninitialized memory algorithms
Constrained uninitialized memory algorithms
Memory resources
Uninitialized storage (until C++20)
( until C++20* )
( until C++20* )
( until C++20* )

Garbage collector support (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)
(C++11) (until C++23)
std:: pmr :: pool_options options ( ) const ;
(C++17 起)

返回控制此资源池化行为的选项。

返回结构体中的值可能与传递给构造函数的原始值存在以下差异:

  • 值为零将被替换为具体实现指定的默认值;
  • 尺寸可能会被舍入到未指定的粒度。

参见

构造一个 unsynchronized_pool_resource
(公开成员函数)