BloombergLP::bdlc::IndexClerk::isInUse

Return true if the specified index is currently in use.

Synopsis

Declared in <bdlc_indexclerk.h>

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

NameDescription
indexindex to test for current use