On Saturday, 24 September 2022 at 07:04:34 UTC, Gregor Mückl wrote:extern(C++) extern(C++, class) struct Foo(T) { T a, b; }alias FooFloat = Foo!float; extern(C++) void bar(FooFloat f); ```
This works when you mirror all the template arguments in the correct order as they are part of the mangled name. Thanks!