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
that should not compile at all. Perhaps you thought extern(C++) interface MyClass(T) ?