[#VecDeque-capacity]
= xref:VecDeque.adoc[VecDeque]::capacity
:relfileprefix: ../
:mrdocs:

Get the capacity of this deque (maximum size it can have without reallocating)&period;

== Synopsis

Declared in `&lt;util&sol;vecdeque&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
size&lowbar;t
capacity() const noexcept;
----

== Return Value

The number of elements that fit without reallocating&period;


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