Forwarding you to

Type-safe Bitmasks in C++

Before writing this, I debated with myself whether to do a straight code dump or have a little set-up for any newbies who might come across this. Ultimately I decided to not exclude beginners. If you're not one of them, feel free to skip right to the next section.