www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - std.typecons.BitFlags.Negation

Browsing through typecons.d, I see that BitFlags contains an 
inner struct called Negation. But I can't figure out the purpose 
of this Negation struct. It's returned when you call 
opUnary("~"). But why? None of the overloads that take a Negation 
seem to do anything different with it (although obviously I'm 
probably misreading something somewhere).
Oct 16 2020