Author
anonymous
over 9 years ago
Language
Compiler
Options
Author
anonymous
over 9 years ago
$
prog.cc:12:21: error: implicit instantiation of undefined template 'TD<int &>'
TD<decltype(y)> tdY;
^
prog.cc:4:7: note: template is declared here
class TD;
^
prog.cc:13:21: error: implicit instantiation of undefined template 'TD<int &&>'
TD<decltype(z)> tdZ;
^
prog.cc:4:7: note: template is declared here
class TD;
^
2 errors generated.
Exit Code:
1