Function pointers/delegates default args were stealth removed?

Walter Bright newshound2 at digitalmars.com
Mon Aug 27 01:24:30 PDT 2012


On 8/27/2012 1:10 AM, Manu wrote:
> I don't see how the linker enters into it. Default args are irrelevant to the
> linker.

Consider name mangling and what it's for. Now consider two *different* types 
mangling to the same name.

D fundamentally depends on a 1:1 correspondence between types and name mangling, 
not 1:n or n:1.


More information about the Digitalmars-d mailing list