On 01/19/2016 03:34 AM, Daniel Murphy wrote:
On 19/01/2016 4:10 PM, Manu via Digitalmars-d wrote:
I'm repeating this here from the depths of my prior whinge thread,
since this is kind of a new topic.

D's multiple inheritance solution is single-inheritance + interfaces.
Rightly so, it's a great solution, and this matches what all the C++
programmers I've ever worked with do anyway. Trouble is, it doesn't
seem to work with extern(C++) at the moment.


Yeah, it never has.  No attempt has ever been made to make it work.

If you want to take a look, it's probably not much more complicated than
fixing the layout.  The code should mostly be somewhere in todt.c (when
ClassDeclaration::cpp is non-zero).

Is there an open issue? -- Andrei

Reply via email to