H1 2015 - C++ integration

Benjamin Thaut via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 17 04:09:10 PST 2015


On Tuesday, 17 February 2015 at 11:39:06 UTC, Guillaume Chatelet 
wrote:
> We'll also have to provide a new pragma to allow correct 
> mangling of types on Windows. Maybe something like :
>
> extern(C++, std) {
>
> pragma(mangleAs, "class")
> struct basic_string()
> {
> ...
> }
>
> }

Yes please. I'm running into the same issue right now. Changing 
everything to struct on the c++ side is not always possible.


More information about the Digitalmars-d mailing list