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

Returns the allocator associated with the internal sequence container.

# Declarations

allocator_type get_allocator() const noexcept;

(since C++20)

# Return value

the associated allocator

# See also