On Wednesday, 14 May 2014 at 10:21:00 UTC, Dejan Lekic wrote: > that should not compile at all. Perhaps you thought extern(C++) > interface MyClass(T) ? Ok, how about this one? http://dpaste.dzfl.pl/04655ff6ddfd It doesn't compile either.