Timeline for Which is better to use? (Enum or Constant)
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 27, 2013 at 13:16 | comment | added | sk patra | Yes C++ enum class is more stricter type.But in my above example I am not using any Type of enum,but using like constants(Implicit conversion of enum to Int).So what is commanded in above case?Two individual constants or enum like aove. | |
Dec 25, 2013 at 13:39 | history | answered | AProgrammer | CC BY-SA 3.0 |