News for hackers. Stuff that matters.
Re:Type-safe Bitmasks in C++ by chabsf on Wednesday June 13, 2018 @08:07AM (#17302288)
The fact that this relies on overloading an operator for every enum makes this a complete non-starter as is in any professional codebase unfortunately. That can be fixed with a trait type though.

There are no comments on this comment yet.