[#memusage-DynamicUsage-0d] = xref:memusage.adoc[memusage]::DynamicUsage :relfileprefix: ../ :mrdocs: Dynamic memory used by a vector's element buffer. == Synopsis Declared in `<memusage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename T, typename Allocator> static size_t DynamicUsage(std::vector<T, Allocator> const& v); ---- == Return Value The bytes allocated for the vector's capacity. == Parameters [cols="1,4"] |=== | Name| Description | *v* | The vector to measure. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#