[#BloombergLP-bdlcc-Queue-length]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/Queue.adoc[Queue]::length
:relfileprefix: ../../../
:mrdocs:

Return the number of elements in this queue&period; Note that if other threads are manipulating the queue, this information may be obsolete by the time it is returned&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
length() const;
----

== Return Value

the number of elements currently in this queue


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