[#BloombergLP-balcl-OptionValue-allocator] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/OptionValue.adoc[OptionValue]::allocator :relfileprefix: ../../../ :mrdocs: Return the allocator used by this object to supply memory. Note that if no allocator was supplied at construction the currently installed default allocator is used. == Synopsis Declared in `<balcl_optionvalue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#