template <typename T> class TD; template<typename T> void f(T _t) { TD<T> a{}; } int main() { const int& i = 3; f(i); return 0; }
Standard input is empty
prog.cpp: In instantiation of 'void f(T) [with T = int]': prog.cpp:13:5: required from here prog.cpp:8:10: error: 'TD<int> a' has incomplete type TD<T> a{}; ^
Standard output is empty