1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#include <cstdarg> #include <cstdint> #include <cstdlib> #include <new> template<typename T, typename U> struct Foo { T x; U y; }; template<typename T> using IntFoo = Foo<int32_t, T>; extern "C" { void root(IntFoo<int32_t> a); } // extern "C"