[#BloombergLP-bsltf-StdAllocatorAdaptor-allocator] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::xref:BloombergLP/bsltf/StdAllocatorAdaptor.adoc[StdAllocatorAdaptor]::allocator :relfileprefix: ../../../ :mrdocs: Return a reference to the non‐modifiable allocator instance associated with this standard allocator adaptor. == Synopsis Declared in `<bsltf_stdallocatoradaptor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- ALLOCATOR const& allocator() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#