H1 2015 - C++ integration

Guillaume Chatelet via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 17 04:20:04 PST 2015


On Tuesday, 17 February 2015 at 12:09:11 UTC, Benjamin Thaut 
wrote:
> 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.

Created https://issues.dlang.org/show_bug.cgi?id=14193


More information about the Digitalmars-d mailing list