[#prevector-0c-allocated_memory] = xref:prevector-0c.adoc[prevector]::allocated_memory :relfileprefix: ../ :mrdocs: Returns the number of bytes held in the heap allocation, or zero when stored inline. == Synopsis Declared in `<prevector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- size_t allocated_memory() const; ---- == Return Value The number of bytes held in the heap allocation, or zero when stored inline. [.small]#Created with https://www.mrdocs.com[MrDocs]#