[#bsl-slist-get_allocator] = xref:bsl.adoc[bsl]::xref:bsl/slist.adoc[slist]::get_allocator :relfileprefix: ../../ :mrdocs: Return the allocator used by this list. == Synopsis Declared in `<bslstp_slist.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/slist/allocator_type.adoc[allocator_type] get_allocator() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#