[#bsl-queue-0a5-size]
= xref:bsl.adoc[bsl]::xref:bsl/queue-0a5.adoc[queue]::size
:relfileprefix: ../../
:mrdocs:

Return the number of elements in this queue&period; In effect, performs `return c&period;size()&semi;`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;queue&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/queue-0a5/size_type.adoc[queue&lt;VALUE, CONTAINER&gt;::size&lowbar;type]
size() const;
----


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