std::experimental::function<R(Args...)>::get_memory_resource
来自 cppreference.cn
< cpp | experimental | function
std::experimental::pmr::memory_resource* get_memory_resource() const noexcept; |
(library fundamentals TS) (removed in library fundamentals TS v3) |
|
返回指向此对象用于分配内存的内存资源的指针。
[edit] 参数
(none)
[edit] 返回值
指向此对象用于分配内存的内存资源的指针。
[edit] 参见
构造一个新的 std::experimental::function 实例(public member function) | |
(library fundamentals TS v3) |
检索由此对象用于分配内存的类型擦除的 std::pmr::polymorphic_allocator (public member function) |