Namespaces
Variants

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

From cppreference.net
std::basic_syncbuf
Public member functions
basic_syncbuf::get_allocator
(C++20)
Protected member functions
Non-member functions
allocator_type get_allocator ( ) const noexcept ;

返回作为构造函数参数传入或通过赋值运算符替换的分配器的副本。

参数

(无)

示例

参见

构造 basic_syncbuf 对象
(公开成员函数)
赋值 basic_syncbuf 对象
(公开成员函数)