[#bsl-allocator-058-allocate_bytes] = xref:bsl.adoc[bsl]::xref:bsl/allocator-058.adoc[allocator<signed char>]::allocate_bytes :relfileprefix: ../../ :mrdocs: == Synopsis Declared in `<bits/memory_resource.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] void* allocate_bytes( size_t __nbytes, size_t __alignment = alignof(max_align_t)); ---- == 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]#