On Sunday, 1 September 2013 at 16:37:19 UTC, Manu wrote:
I'm amazed at the resistance to this (a few no's, any yes's at all?).
I'm neutral on it personally. If it was there, whatever, it'd be nice for porting from C++ at least. But if it isn't there, meh.
BTW you could hack it in yourself: class Foo { int c; int add(int a, int b); } pragma(mangle, Foo.add.mangleof) int add(int a, int b, Foo _this) { return a + b + _this.c; } lol