so wrote:
Does this mean no more defining bits as enums?Now that would be brutal, it is one of the best use cases of enum if not the best...
Yes.I reckon, if an enum doesn't explicitly define the value of each member, it shouldn't implicitly convert to int -- and it should not be possible to treat it as bits.
OTOH if each member has an explicitly defined value, it's reasonable to perform logical operations on it.