using this instead of typeof(this)

bearophile bearophileHUGS at lycos.com
Tue Feb 26 10:41:08 PST 2013


Kenji Hara:

> auto return is a little different with others. To infer return 
> type, the method body is aggressively analyzed in compilation.

So that usage of "auto" sounds like something to avoid if you 
want D compiler to compile quickly a lot of code.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list