How does inheritance and vtables work wrt. C++ and interop with D? Fns w/ Multiple-inheritance args impossible to bind to?

Ola Fosheim Grostad ola.fosheim.grostad at gmail.com
Sun May 23 21:08:06 UTC 2021


On Sunday, 23 May 2021 at 21:02:31 UTC, Gavin Ray wrote:
> I don't really know anything at all about compilers or 
> low-level code -- but is there any high-level notion of 
> "inheritance" after it's been compiled?

Yes, in the structure of the vtable, which is why the spec is so 
hard to read.

If possible stick to single inheritance in C++...



More information about the Digitalmars-d-learn mailing list