[#bsl-list-054-get_allocator] = xref:bsl.adoc[bsl]::xref:bsl/list-054.adoc[list]::get_allocator :relfileprefix: ../../ :mrdocs: Return a copy of the allocator used for memory allocation by this list. == Synopsis Declared in `<bslstl_list.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- ALLOCATOR get_allocator() const noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#