[#bsl-allocator_traits-009-allocate-05] = xref:bsl.adoc[bsl]::xref:bsl/allocator_traits-009.adoc[allocator_traits<allocator<long>>]::allocate :relfileprefix: ../../ :mrdocs: == Synopsis Declared in `<bslma_bslallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:bsl/allocator_traits-009/pointer.adoc[pointer] allocate( xref:bsl/allocator_traits-009/allocator_type.adoc[allocator_type]& m, xref:bsl/allocator_traits-009/size_type.adoc[size_type] n, xref:bsl/allocator_traits-009/const_void_pointer.adoc[const_void_pointer]); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#