"Yuriy" wrote in message news:klosrzuxwmvilupzz...@forum.dlang.org...
Ok, i can understand that, but what about this one:
http://dpaste.dzfl.pl/6a9961e32e6d
It doesn't use d arrays in function interfaces. Should it work?

Similar problem, D arrays cannot be mangled correctly with C++ mangling.

This compiles:

extern(C++) interface I
{
extern(D):
   int hi();
}
extern(C++) class A(T) : I
{
extern(D):
   override int hi()
   {
       return 0;
   }
}

void main()
{
   A!string a;
}

Reply via email to