Ali Çehreli:
> When is an enum *better* than a normal (static const/immutable) constant?Good question. :)
When you can or want to compute something at compile-time, when you need values to feed to templates, etc.
Bye, bearophile
Ali Çehreli:
> When is an enum *better* than a normal (static const/immutable) constant?Good question. :)
When you can or want to compute something at compile-time, when you need values to feed to templates, etc.
Bye, bearophile