[#BloombergLP-bslma-MallocFreeAllocator-singleton]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/MallocFreeAllocator.adoc[MallocFreeAllocator]::singleton
:relfileprefix: ../../../
:mrdocs:

Return a reference to a valid object of this class&period;

== Synopsis

Declared in `&lt;bslma&lowbar;mallocfreeallocator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bslma/MallocFreeAllocator.adoc[MallocFreeAllocator]&
singleton();
----

== Description

Note that this object is guaranteed to be valid from the time of this call onward (i&period;e&period;, not just until exiting `main`)&period;

== Return Value

reference to a process&hyphen;wide unique object of this class


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