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