Replace plain enum by enum class
Since C++11 scoped enumerations (enum class
) overcomes a lot of the drawbacks of classical enumerations. Some plain enum may be substituted throughout the code, such as e.g. ElementType
or DistrTypeT
.
Since C++11 scoped enumerations (enum class
) overcomes a lot of the drawbacks of classical enumerations. Some plain enum may be substituted throughout the code, such as e.g. ElementType
or DistrTypeT
.