The following code generates a compile error in Xcode:
template struct Foo { Foo(T Value) { } }; int main() { Foo MyFoo(123);
compiler can figure out template parameter type only for templated functions, not for classes/structs