Support for operators == and != for StaticBitArray.
auto a = StaticBitArray!(5, ubyte)([1,0,1,0,1]); auto b = StaticBitArray!(5, ushort)([1,0,1,1,1]); auto c = StaticBitArray!(5, uint)([1,0,1,0,1]); auto d = StaticBitArray!(5, ulong)([1,1,1,1,1]); assert(a != b); assert(a == c); assert(a != d);
See Implementation
Support for operators == and != for StaticBitArray.