Why extern variables and functions within template/struct/class have a D mangling

Dicebot m.strashun at gmail.com
Wed May 8 02:12:24 PDT 2013


On Wednesday, 8 May 2013 at 09:09:34 UTC, Andrej Mitrovic wrote:
> ...

Suck code is invalid in C++ and for a good reason. I'd really 
expect D to refuse to compile extern(C) functions it can't 
possibly mangle correctly.


More information about the Digitalmars-d mailing list