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

From cppreference.com
allocator_type get_allocator ( ) const noexcept ;
(since C++20)

Returns the allocator associated with the internal sequence container.

Parameters

(none)

Return value

the associated allocator

See also

returns the associated allocator
(public member function of std::basic_string<CharT,Traits,Allocator> )