StaticBitArray.canFindIndexOf

Find index (starting at currIx) of first bit that equals value.

struct StaticBitArray(uint capacity, Block = DefaultBlock)
@safe const
bool
canFindIndexOf
(
ModUInt
)
(
bool value
,
Mod!(capacity, ModUInt) currIx
,
out Mod!(capacity, ModUInt) nextIx
)
if (
isUnsigned!ModUInt
)
if (
isUnsigned!DefaultBlock
)

Return Value

Type: bool

true if index was found (hit index is put into nextIx), false otherwise.

TODO block-optimize for large BitSets

Meta