Flag-like integer types offer a lot of nice properties:
But on the other hand they are inherently type unsafe:
In this talk we present the library Boost.Flags which solves those problems in a non-intrusive and zero-overhead way. Just a template-specialization away from type checking your flags!
View Slides
Born in the analog year of 1973.
Made my first programming experience on a Commodore 64.
Wrote a course-management software while in high-school (1992), which is still in use.
Finished university with a Phd in Maths: math-models for functional languages.
Started C++ in 1999 working on a thermodynamic simulation tool.
Got a large Boost when I stumbled over its libraries.
Frequent BoostCon/C++Now attendant/speaker since then.