Binding C++ value types

Nicholas Wilson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Feb 9 21:04:11 PST 2015


On Monday, 9 February 2015 at 19:30:32 UTC, Benjamin Thaut wrote:
> When binding C++ value types you might want to use them by 
> placing them on the D-Stack. This however seems to be not 
> supported as the mangling for the constructor is completely 
> wrong. Is this supposed to work?
>
> Kind Regards
> Benjamin Thaut

See https://issues.dlang.org/show_bug.cgi?id=14086
I can't see any reason why it should not to work. It is a very 
valid
use case.

Nic


More information about the Digitalmars-d-learn mailing list