1 2 3 4 5 6 7 8 9 10 11 12 13
template <typename T> struct Foo { Foo<T>(); }; template <typename T> Foo<T>::Foo() { cout << ":)"; } int main() { Foo<int> f; }
1
:)