std::basic_stringbuf<CharT,Traits,Allocator>::get_allocator
来自cppreference.com
< cpp | io | basic stringbuf
输入/输出库
std::basic_stringbuf
| 公开成员函数 | ||||
|
(C++11)
|
||||
|
(C++11)
|
||||
|
basic_stringbuf::get_allocator
(C++20)
|
||||
|
(C++20)
|
||||
| 受保护成员函数 | ||||
| 非成员函数 | ||||
|
(C++11)
|
||||
| 仅用于阐述的成员函数 | ||||
|
allocator_type
get_allocator()
const
noexcept;
|
(C++20 起) | |
返回与内部的 basic_string 关联的分配器。
参数
(无)
返回值
关联的分配器。
参阅
| 返回关联的分配器 ( std::basic_string<CharT,Traits,Allocator>
的公开成员函数) |