StaticBitArray.indexOfFirstZero

Find index of first cleared (zero) bit or typeof(return).max if no bit set.

Optimized for zeros-sparsity.

struct StaticBitArray(uint capacity, Block = DefaultBlock)
@safe const
static if(capacity >= 1)
size_t
indexOfFirstZero
()
()
if (
isUnsigned!DefaultBlock
)

Meta