[#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. Note that this object is guaranteed to be valid from the time of this call onward (i.e., not just until exiting `main`). == Synopsis Declared in `<bslma_mallocfreeallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslma/MallocFreeAllocator.adoc[MallocFreeAllocator]& singleton(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#