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

Manu turkeyman at gmail.com
Mon Apr 23 20:40:47 UTC 2018


On 23 April 2018 at 07:27, Atila Neves via Digitalmars-d-announce
<digitalmars-d-announce at puremagic.com> wrote:
> 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.

Can you explain the move issue? That's interesting.


More information about the Digitalmars-d-announce mailing list