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