Open kabasset opened 1 year ago
bitset
provides flip()
which is ambiguous wrt. flipping the ordering.
Operators !
or ~
seem appropriate for new instances. One would write:
for (const auto& p : not mask) ...
for (const auto& p : !mask) ...
for (const auto& p : ~mask) ...
bitset
uses operator~()
while valarray<bool>
uses both while seems to favor operator!
Or anything better named, e.g.
operator-()
for new instance, or matchbitset
wording.