std::pmr::polymorphic_allocator<T>::resource
来自cppreference.com
< cpp | memory | polymorphic
allocator
动态内存管理
|
std::pmr::polymorphic_allocator
成员函数 | ||||
(C++20
中弃用)
|
||||
polymorphic_allocator::resource
|
||||
非成员函数 | ||||
(C++20
前)
|
memory_resource*
resource()
const;
|
(C++17 起) | |
返回此 polymorohic_allocator 所用的 memory_resource 指针。
参数
(无)
返回值
此 polymorohic_allocator 所用的 memory_resource 指针。