Mutable enums

Dejan Lekic dejan.lekic at gmail.com
Mon Nov 14 02:13:51 PST 2011


so wrote:

> 
> immutable a;
> sort(a);
> 
> But with current design you can do:
> 
> enum a;
> sort(a);
> 
> Which is to me, quite wrong.

It is not wrong at all.


More information about the Digitalmars-d-learn mailing list