Pass enum variable as const ref arg

Andrey saasecondbox at yandex.ru
Fri Dec 4 13:42:45 UTC 2020


Hm, you mean that enum variable is not a real variable?
I thought that to make CT variable you should mark it as enum (in 
c++ as constexpr).
How to do it here?


More information about the Digitalmars-d-learn mailing list