unnecessary casts

bearophile bearophileHUGS at lycos.com
Wed Jan 30 14:57:38 PST 2013


On Wednesday, 30 January 2013 at 22:49:01 UTC, Namespace wrote:
> Is the compiler (dmd) fit enough to detect and avoid 
> unnecessary casts?

I think the most important casts most worth avoiding are the ones 
you write in the code (because they are a source of bugs), not 
the ones the compiler performs :-)

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list