Implicit enum conversions are a stupid PITA

Walter Bright newshound1 at digitalmars.com
Thu Mar 25 12:01:36 PDT 2010


Yigal Chripun wrote:
> You could implement this in D with structs/classes but it'll take a lot of
> code. Java does this for you.

That's what templates are for!




More information about the Digitalmars-d mailing list