How to call a extern C++ class constructor ?

kinke noone at nowhere.com
Sat Feb 1 14:58:44 UTC 2020


On Saturday, 1 February 2020 at 14:52:21 UTC, kinke wrote:
> Trivial cases like yours should actually work wrt. using C++ 
> ctor implementations from D IIRC.

Ah, you need at least one virtual function in the C++ class 
(because D always reserves a vptr, the pointer to the class 
vtable).


More information about the Digitalmars-d-learn mailing list