optimization for bitwise operations
optimization for bitwise operations
Defined if Field has member assumeFieldsHaveZeroShift.
import mir.ndslice.iterator: FieldIterator; ushort[10] data; auto f = FieldIterator!(BitField!(ushort*))(0, BitField!(ushort*)(data.ptr)); f[123] = true; f++; assert(f[122]);
BitField is used by bitwise.