[#bsl-allocator-069-allocate-05] = xref:bsl.adoc[bsl]::xref:bsl/allocator-069.adoc[allocator<Attribute>]::allocate :relfileprefix: ../../ :mrdocs: == Synopsis Declared in `<bits/memory_resource.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] xref:BloombergLP/ball/Attribute.adoc[Attribute]* allocate(size_t __n); ---- == 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]#