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>

int
length() const;

Return Value

the number of elements currently in this queue

Created with MrDocs