Following code generate no compilation/linker error/warning:
// A.h #include struct A { template static void foo (T t) {
main.cpp cannot see the code inside other.cpp. Template specializations are of file scope.
main.cpp
other.cpp