[#bsl-vector-09c-get_allocator] = xref:bsl.adoc[bsl]::xref:bsl/vector-09c.adoc[vector<short>]::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-09c/allocator_type.adoc[allocator_type] get_allocator() const noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#