StaticBitArray.opIndex

Get the i'th bit.

Avoids range-checking because i of type is bound to (0 .. capacity-1).

  1. bool opIndex(size_t i)
  2. bool opIndex(Mod!(capacity, ModUInt) i)
    struct StaticBitArray(uint capacity, Block = DefaultBlock)
    @safe const @trusted
    bool
    opIndex
    (
    ModUInt
    )
    (
    Mod!(capacity, ModUInt) i
    )
    if (
    isUnsigned!ModUInt
    )
    if (
    isUnsigned!DefaultBlock
    )

Meta