[#BloombergLP-bdlm-InstanceCount-nextInstanceNumber] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlm.adoc[bdlm]::xref:BloombergLP/bdlm/InstanceCount.adoc[InstanceCount]::nextInstanceNumber :relfileprefix: ../../../ :mrdocs: Return the next instance number for the specified `OBJECT_TYPE`. == Synopsis Declared in `<bdlm_instancecount.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class OBJECT_TYPE> static xref:BloombergLP/bdlm/InstanceCount/Value.adoc[InstanceCount::Value] nextInstanceNumber(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#