std::polymorphic<T, Allocator>::get_allocator
来自cppreference.com
内存管理库
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
constexpr allocator_type get_allocator() const noexcept;
|
(C++26 起) | |
获取关联的分配器。
返回值
示例
| 本节未完成 原因:暂无示例 |