[#BloombergLP-bdlb-NullableAllocatedValue-get_allocator] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/NullableAllocatedValue.adoc[NullableAllocatedValue]::get_allocator :relfileprefix: ../../../ :mrdocs: Return a `bsl::allocator` constructed from the `bslma::Allocator` used by this object to supply memory. Note that if no allocator was supplied at construction the default allocator in effect at construction is used. == Synopsis Declared in `<bdlb_nullableallocatedvalue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/allocator-0df.adoc[bsl::allocator<char>] get_allocator() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#