Returns the number of elements currently in this queue. Note that numElements() == capacity() is not a valid replacement for isFull (see {Exception Safety} for details).
numElements() == capacity()
isFull
Declared in <bdlcc_boundedqueue.h>
<bdlcc_boundedqueue.h>
std::size_t numElements() const;