std::basic_stringbuf<CharT,Traits,Allocator>::get_allocator
来自cppreference.com
| |
(C++20 起) | |
返回与内部的序列容器关联的分配器。
参数
(无)
返回值
关联的分配器。
参阅
| 返回关联的分配器 ( std::basic_string<CharT,Traits,Allocator> 的公开成员函数)
|
| 公开成员函数 | ||||
(C++11) | ||||
(C++11) | ||||
(C++20) | ||||
| 受保护成员函数 | ||||
| 非成员函数 | ||||
(C++11) | ||||
| 仅用于阐述的成员函数 | ||||
allocator_type get_allocator() const noexcept;
|
(C++20 起) | |
返回与内部的序列容器关联的分配器。
(无)
关联的分配器。
| 返回关联的分配器 ( std::basic_string<CharT,Traits,Allocator> 的公开成员函数) [编辑]
|