October 17, 2020 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). |
Copyright © 1999-2021 by the D Language Foundation