March 22, 2004
C schrieb:

>> Plus, it seems to me like it could lead to smaller executables since the code for the forwarding function would be gone... or is that optimized out by DMD?
> 
> 
> Nope :S ( obj2asm ).

Tried in release mode with function-level linkage? Ok, it won't work for class member functions anyway.

Anyway, i think Walter said that this is really intended to be eliminated, but i think it's not going to be fully possible until someone writes an efficient eliminator like the one in Sather.

I recall that Walter was against default arguments because they can be problematic in derived classes and so on.

-eye
1 2
Next ›   Last »