[#BloombergLP-bdlcc-ObjectPool-numObjects] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/ObjectPool.adoc[ObjectPool]::numObjects :relfileprefix: ../../../ :mrdocs: Return the number of objects currently managed by this pool. == Synopsis Declared in `<bdlcc_objectpool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int numObjects() const; ---- == Description Return the (instantaneous) number of objects managed by this pool. This includes both the objects available in the pool and the objects that were allocated from the pool and not yet released. == Return Value the number of objects currently managed by this pool [.small]#Created with https://www.mrdocs.com[MrDocs]#