[#bsl-map-0c7-get_allocator]
= xref:bsl.adoc[bsl]::xref:bsl/map-0c7.adoc[map&lt;int, pair&lt;shared&lowbar;ptr&lt;Statistics&gt;, shared&lowbar;ptr&lt;Collector&lt;OsLinux&gt;&gt;&gt;&gt;]::get&lowbar;allocator
:relfileprefix: ../../
:mrdocs:

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

== Synopsis

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

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


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