Safer enum casts

bearophile bearophileHUGS at lycos.com
Tue Feb 1 16:45:44 PST 2011


Jesse Phillips:

> I believe this is exactly what std.conv.to should do. It should be the safest and recommended way to do conversions.

http://d.puremagic.com/issues/show_bug.cgi?id=5515

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list