Bit_Array module

only_unset

procedureSource

Like only_set, but visits the cleared bits.

Example↗
bits := make_bit_array(4);
bits[0] = true;
cleared := 0;
for: only_unset bits cleared += 1;
assert(cleared == 3);
deinit(*bits);

See also