std::pmr::polymorphic_allocator::resource

memory_resource* resource() const;
(C++17 起)

返回此 polymorohic_allocator 所用的 memory_resource 指针。

参数

(无)

返回值

此 polymorohic_allocator 所用的 memory_resource 指针。

版本历史

  • (当前 | 先前) 2017年5月4日 (四) 09:01Fruderica讨论 | 贡献. . (371字节) (+371). . (以“{{cpp/memory/polymorphic_allocator/title|resource}} {{cpp/memory/polymorphic_allocator/navbar}} {{dcl begin}} {{dcl | since=c++17 | memory_resource* resource() cons...”为内容创建页面)