enum return type

bearophile bearophileHUGS at lycos.com
Wed Mar 5 15:20:07 PST 2014


Frustrated:

> how does an enum return type work?
>
> enum foo(string s) { return s; }

As far as I know that's not valid D (but D is extremely 
tolerating).

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list