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

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

Returns a copy of the allocator that was passed in as the constructor argument or replaced through the assignment operator.

Parameters

(none)

Example

See also

constructs a basic_syncbuf object
(public member function)
assigns a basic_syncbuf object
(public member function)