[#prevector-0c-clear] = xref:prevector-0c.adoc[prevector]::clear :relfileprefix: ../ :mrdocs: Removes all elements, leaving the container empty. == Synopsis Declared in `<prevector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void clear(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#