fork(1) download
  1. template<class T> struct TD;
  2.  
  3. int main()
  4. {
  5. int i = 0;
  6. TD<decltype(i++)> td;
  7. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function 'int main()':
prog.cpp:6:23: error: aggregate 'TD<int> td' has incomplete type and cannot be defined
     TD<decltype(i++)> td;
                       ^
stdout
Standard output is empty