[#prevector-01-capacity] = xref:prevector-01.adoc[prevector<36, unsigned char>]::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]#