On Friday, 7 June 2013 at 23:22:03 UTC, Manu wrote:
Another less intrusive option would be to just add extern(CppThisCall) and extern(DThisCall) or something along the lines, which would be specified to pass the first parameter as if it was a this pointer.I think this makes good sense, because other than the choice of calling
convention, it really is just a 'function' in every other way.