[#bsl-allocator-0ac-2constructor-04] = xref:bsl.adoc[bsl]::xref:bsl/allocator-0ac.adoc[allocator<void>]::allocator :relfileprefix: ../../ :mrdocs: Create a proxy object that will forward allocation calls to the object pointed to by `bslma::Default::defaultAllocator()`. Postcondition: ` this‐>mechanism() == bslma::Default::defaultAllocator(); ` == Synopsis Declared in `<bslma_bslallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- allocator(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#