[#memusage-DynamicUsage-0d]
= xref:memusage.adoc[memusage]::DynamicUsage
:relfileprefix: ../
:mrdocs:

Dynamic memory used by a vector&apos;s element buffer&period;

== Synopsis

Declared in `&lt;memusage&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename T,
    typename Allocator&gt;
static
size&lowbar;t
DynamicUsage(std::vector&lt;T, Allocator&gt; const& v);
----

== Return Value

The bytes allocated for the vector&apos;s capacity&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *v*
| The vector to measure&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
