When an enum controls the behavior of a class, that behavior can sometimes be expressed by class hierarchies. Last week I wrote about replacing a fixed set of strings with an […]
The post Enum vs. Class Hierarchies appeared first on Simplify C++!.
When an enum controls the behavior of a class, that behavior can sometimes be expressed by class hierarchies. Last week I wrote about replacing a fixed set of strings with an […]
The post Enum vs. Class Hierarchies appeared first on Simplify C++!.