[Issue 16527] extern( C++ ) Win64 build - return struct by value is broken
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Jan 15 21:15:21 PST 2017
https://issues.dlang.org/show_bug.cgi?id=16527
Sprink <sprink.noreply at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sprink.noreply at gmail.com
--- Comment #2 from Sprink <sprink.noreply at gmail.com> ---
The problem is that there's no way to properly model a pointer to a member
function to C++ from D. You can't use a delegate as it isn't supported with
extern(C++). So there's no way for it to know that the parameter you are
passing is actually a "this". Taking the address of a member function without
an object is also broken (#3720).
--
More information about the Digitalmars-d-bugs
mailing list