On Friday, 1 September 2017 at 19:49:46 UTC, bitwise wrote: > [...] oddly, this seems to compile: extern(C) T foo(T)() { return T.init; } So I'm thinking now..is this as easy as just figuring out how it's mangled and calling dlsym()?