-
Alessandro Di Federico authored
`enum`s throw their entries into the parent scope. `enum class` can work around this issue, however, `enum class` cannot have methods. Since we often need to have `getName` and `fromName` functions for the enums, we now create a namespace for each enum that contain a number of helper functions.
Alessandro Di Federico authored`enum`s throw their entries into the parent scope. `enum class` can work around this issue, however, `enum class` cannot have methods. Since we often need to have `getName` and `fromName` functions for the enums, we now create a namespace for each enum that contain a number of helper functions.
Loading