[#prevector-0c-capacity] = xref:prevector-0c.adoc[prevector]::capacity :relfileprefix: ../ :mrdocs: Returns the number of elements the container can hold without reallocating. == Synopsis Declared in `<prevector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- size_t capacity() const; ---- == Return Value The number of elements the container can hold without reallocating. [.small]#Created with https://www.mrdocs.com[MrDocs]#