[#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. Note that if other threads are manipulating the queue, this information may be obsolete by the time it is returned. == Synopsis Declared in `<bdlcc_queue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int length() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#