Any chance to avoid monitor field in my class?

Daniel Murphy via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed May 14 01:47:36 PDT 2014


On Tuesday, 13 May 2014 at 17:41:42 UTC, Yuriy wrote:
> On Tuesday, 13 May 2014 at 17:09:01 UTC, Daniel Murphy wrote:
>> What exactly is the mangling problem with extern(C++) classes?
> Can't use D arrays (and strings) as function argument types.
> Can't use D array types as template arguments.
>
> extern (C++) MyClass(T)
> {
>
> }
>
> MyClass!string a; // Mangling error

I'm not getting any errors with the development head.  What 
os/compiler version?


More information about the Digitalmars-d-learn mailing list