Who says we can't call C++ constructors?

Laeeth Isharc laeeth at laeeth.com
Mon Apr 23 11:44:13 UTC 2018


On Saturday, 21 April 2018 at 12:41:02 UTC, Atila Neves wrote:
> From https://dlang.org/spec/cpp_interface.html:
>
> "C++ constructors, copy constructors, move constructors and 
> destructors cannot be called directly in D code".
>
> O RLY?
> Atila

https://www.reddit.com/r/programming/comments/8eat5o/calling_c_constructors_from_d/
https://github.com/atilaneves/dpp


More information about the Digitalmars-d-announce mailing list