[#BloombergLP-bdlb-NullableAllocatedValue-get_allocator]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/NullableAllocatedValue.adoc[NullableAllocatedValue]::get&lowbar;allocator
:relfileprefix: ../../../
:mrdocs:

Return the allocator used by this object to supply memory&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;nullableallocatedvalue&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/allocator-0df.adoc[bsl::allocator&lt;char&gt;]
get&lowbar;allocator() const;
----

== Description

Return a `bsl&colon;&colon;allocator` constructed from the `bslma&colon;&colon;Allocator` used by this object to supply memory&period; Note that if no allocator was supplied at construction the default allocator in effect at construction is used&period;

== Return Value

allocator used by this object to supply memory


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