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