[#bsl-basic_string-0e-get_allocator] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0e.adoc[basic_string<wchar_t>]::get_allocator :relfileprefix: ../../ :mrdocs: Return the allocator used by this string to supply memory. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/basic_string-0e/allocator_type.adoc[allocator_type] get_allocator() const noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#