Type-safe Bitmasks in C++ | Hacker News Reader