2 ms·
This is increasingly the standard model in large C and C++ projects, alongside the warning flags for incomplete switches and fall through you get fairly close t
by olliej 8y ago
This is increasingly the standard model in large C and C++ projects, alongside the warning flags for incomplete switches and fall through you get fairly close to this.
I feel the biggest problem with Enums in c/c++ is the default implicit bool and int conversions. They are the enemy.