[#bsl-allocator-09b-allocate-09] = xref:bsl.adoc[bsl]::xref:bsl/allocator-09b.adoc[allocator<pair<int const, pair<shared_ptr<Statistics>, shared_ptr<Collector<OsLinux>>>>>]::allocate :relfileprefix: ../../ :mrdocs: == Synopsis Declared in `<bslma_bslallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] xref:bsl/allocator-09b/pointer.adoc[pointer] allocate( xref:bsl/allocator-09b/size_type.adoc[size_type] n, void const* hint = 0); ---- == Return Value [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#