std::basic_stringbuf<CharT,Traits,Allocator>:: get_allocator
From cppreference.net
<
cpp
|
io
|
basic stringbuf
C++
Input/output library
| I/O manipulators | ||||
| Print functions (C++23) | ||||
| C-style I/O | ||||
| Buffers | ||||
|
(C++23)
|
||||
|
(
C++98/26*
)
|
||||
|
(C++20)
|
||||
| Streams | ||||
| Abstractions | ||||
| File I/O | ||||
| String I/O | ||||
| Array I/O | ||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(
C++98/26*
)
|
||||
|
(
C++98/26*
)
|
||||
|
(
C++98/26*
)
|
||||
| Synchronized Output | ||||
|
(C++20)
|
||||
| Types | ||||
| Error category interface | ||||
|
(C++11)
|
||||
|
(C++11)
|
std::basic_stringbuf
| Public member functions | ||||
|
(C++11)
|
||||
|
(C++11)
|
||||
|
basic_stringbuf::get_allocator
(C++20)
|
||||
|
(C++20)
|
||||
| Protected member functions | ||||
| Non-member functions | ||||
|
(C++11)
|
||||
| Exposition-only member functions | ||||
|
allocator_type get_allocator
(
)
const
noexcept
;
|
(自 C++20 起) | |
返回与内部序列容器关联的分配器。
参数
(无)
返回值
关联的分配器
参见
|
返回关联的分配器
(
std::basic_string<CharT,Traits,Allocator>
的公开成员函数)
|