Making enum join variadic

Meta via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 2 07:36:15 PDT 2014


On Friday, 2 May 2014 at 13:38:39 UTC, Nordlöw wrote:
> enums.d(25,46): Error: static variable allMembers cannot be 
> read at compile time
> enums.d(25,21):        while evaluating: static assert("a" in 
> allMembers)
>
> Is there a solution to this problem?

Associative arrays are not CTFE-able.


More information about the Digitalmars-d-learn mailing list