You cannot. https://dlang.org/spec/cpp_interface.html#using_cpp_classes_from_dYou must use a factory method like createInstance.
Oh I see, so there's definitively no way to call a c++ ctor without modifying the c++ code ?
Luhrel via Digitalmars-d-learn Sat, 01 Feb 2020 00:31:03 -0800
You cannot. https://dlang.org/spec/cpp_interface.html#using_cpp_classes_from_dYou must use a factory method like createInstance.
Oh I see, so there's definitively no way to call a c++ ctor without modifying the c++ code ?