Namespaces
Variants

std::basic_stringbuf<CharT,Traits,Allocator>:: get_allocator

From cppreference.net
allocator_type get_allocator ( ) const noexcept ;
(自 C++20 起)

返回与内部序列容器关联的分配器。

参数

(无)

返回值

关联的分配器

参见

返回关联的分配器
( std::basic_string<CharT,Traits,Allocator> 的公开成员函数)