[#bsl-vector-0cf-get_allocator]
= xref:bsl.adoc[bsl]::xref:bsl/vector-0cf.adoc[vector&lt;unsigned char&gt;]::get&lowbar;allocator
:relfileprefix: ../../
:mrdocs:

Return (a copy of) the allocator used for memory allocation by this vector&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;vector&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/vector-0cf/allocator_type.adoc[allocator&lowbar;type]
get&lowbar;allocator() const noexcept;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
