On Wednesday, 30 January 2013 at 22:57:39 UTC, bearophile wrote:
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

I'm talking about exactly these kind of casts. See my example.

Reply via email to