Name: Anonymous 2019-01-04 9:45
https://smartbear.com/blog/develop/closer-to-perfection-get-to-know-c11-scoped-and-ba/
https://en.cppreference.com/w/cpp/language/enum
So uh, basically instead of BronzeColor
we use Color::Bronze and when we have to assign to int we use static_cast(while C doesn't need anything and typing is easier).
https://en.cppreference.com/w/cpp/language/enum
So uh, basically instead of BronzeColor
we use Color::Bronze and when we have to assign to int we use static_cast(while C doesn't need anything and typing is easier).