[#BloombergLP-bdlcc-BoundedQueue-capacity]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/BoundedQueue.adoc[BoundedQueue]::capacity
:relfileprefix: ../../../
:mrdocs:

Return the maximum number of elements that may be stored in this queue&period; Note that the value returned may be greater than that supplied at construction&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;boundedqueue&period;h&gt;`

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

== Return Value

the maximum number of elements that may be stored


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