[#BloombergLP-bdlcc-SharedObjectPool-numObjects]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SharedObjectPool.adoc[SharedObjectPool]::numObjects
:relfileprefix: ../../../
:mrdocs:

Return the number of objects currently managed by this pool&period;

== Synopsis

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

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

== Description

Return the (instantaneous) number of objects managed by this pool&period; This includes both the objects available in the pool and the objects that were allocated from the pool and not yet released&period;

== Return Value

instantaneous number of objects managed by this pool


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