Implicit enum conversions are a stupid PITA

bearophile bearophileHUGS at lycos.com
Sun Mar 28 02:58:26 PDT 2010


Lutger:
> alias Flags!q{ do_nothing, 
>                walk_dog, 
>                cook_breakfast,
>                deliver_newspaper,
>                visit_miss_kerbopple,
>                wash_covers } Todo;

That's better.
But you have missed the optional type :-)

Bye,
bearophile



More information about the Digitalmars-d mailing list