digitalmars.D - std.typecons.BitFlags.Negation
- Lewis (6/6) Oct 16 2020 Browsing through typecons.d, I see that BitFlags contains an
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