Namespaces
Variants

std::pmr::polymorphic_allocator<T>:: resource

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 :: memory_resource * resource ( ) const ;
(C++17 起)

返回此多态分配器使用的 内存资源 指针。

参数

(无)

返回值

此多态分配器所使用的内存资源指针。