[#BloombergLP-bdlc-IndexClerk-isInUse] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/IndexClerk.adoc[IndexClerk]::isInUse :relfileprefix: ../../../ :mrdocs: Return `true` if the specified `index` is currently in use. == Synopsis Declared in `<bdlc_indexclerk.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool isInUse(int index) const; ---- == Description Return `true` if the specified `index` is currently in use, and `false` otherwise. The behavior is undefined unless `0 <= index` and `index < nextNewIndex()`. Note that this method runs in time proportional to the number of decommissioned indices. == Return Value `true` if `index` is in use, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *index* | index to test for current use |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#