using enums for flags

bearophile bearophileHUGS at lycos.com
Thu Jan 26 05:18:51 PST 2012


Trass3r:

> As I said one could introduce something like @flags but I guess a 
> library solution is preferred.
> I still wonder though if implicit conversion to the basetype has 
> any merit.

Those are important topics. D must offer a solution that is both safer and more handy than the current one.

Bye,
bearophile


More information about the Digitalmars-d mailing list