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

Atila Neves atila.neves at gmail.com
Mon Apr 23 14:27:46 UTC 2018


On Saturday, 21 April 2018 at 18:11:09 UTC, Manu wrote:
> On 21 April 2018 at 05:41, Atila Neves via 
> Digitalmars-d-announce <digitalmars-d-announce at puremagic.com> 
> wrote:
>>[...]
>
> Paste the pre-processed D code?
> Did you generate the C++ mangled symbol name and call it from a 
> D
> wrapper? I've attempted that before in 'normal' D ;)

Mostly just constructors with `pragma(mangle)` but having move 
work correctly involved two wrappers, one taking by value and one 
taking by non-const ref.


More information about the Digitalmars-d-announce mailing list