extern(C++, ns)

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Fri Jan 8 05:36:05 PST 2016


On 1/7/2016 11:56 PM, Jacob Carlborg wrote:
> On 2016-01-07 17:55, Walter Bright wrote:
>
>> I can clear this up - that's exactly what it does!
>
> So is the compiler treating the namespace symbol differently?

?? differently than what?

> Or isn't it possible to attached pragma(mangle) to a struct?

Yes, it is. But structs have other semantics that are not the same as namespaces.



More information about the Digitalmars-d mailing list