bsl::basic_stringbuf::get_allocator

Return the allocator used by the underlying string to supply memory.

Synopsis

Declared in <bslstl_stringbuf.h>

basic_stringbuf<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR>::allocator_type
get_allocator() const noexcept;