[#prevector-0c-shrink_to_fit] = xref:prevector-0c.adoc[prevector]::shrink_to_fit :relfileprefix: ../ :mrdocs: Reduces the capacity to match the current size. == Synopsis Declared in `<prevector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void shrink_to_fit(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#