Am 12.09.2011, 09:07 Uhr, schrieb Don <[email protected]>:
On 11.09.2011 17:07, Daniel Murphy wrote:
Adding the C++ interfacing capability was well before my time, so I'm
not
sure how it ended up with the current limitations. Maybe someone else
does?
I think the issue with static member functions is getting the name
mangling/linking to work, this is obviously never a problem for virtual
functions, and is simpler for free functions. I'll have a go at this
eventually if nobody beats me to it.
There's a patch in bugzilla which implements it. Walter used a couple of
things from the patch, but left out the rest. Don't know what the
reasoning was.
Do you mean this one?
http://d.puremagic.com/issues/show_bug.cgi?id=4620
I really don't understand why we have to deal with crappy C++ -> C -> D
layers if it's that easy to add more C++ interoperability.