enum and const or immutable ‘variable’ whose value is known at compile time

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Thu Sep 17 11:03:23 UTC 2020

On Thursday, 17 September 2020 at 10:56:28 UTC, Mike Parker wrote:
> Are effectively the same thing, whether it's implemented that 
> way or not. So why on earth would a new keyword be necessary?

C++ made enums stricter by "enum class".

More information about the Digitalmars-d-learn mailing list