Any chance to avoid monitor field in my class?
    Yuriy via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Tue May 13 10:41:41 PDT 2014
    
    
  
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
    
    
More information about the Digitalmars-d-learn
mailing list