Author
anonymous
almost 8 years ago
Language
Compiler
Options
Author
anonymous
almost 8 years ago
$
prog.cc:20:12: error: implicit instantiation of undefined template 'X<42>'
X<f()> x1;
^
prog.cc:8:8: note: template is declared here
struct X;
^
prog.cc:21:12: error: implicit instantiation of undefined template 'X<42>'
X<p()> x2;
^
prog.cc:8:8: note: template is declared here
struct X;
^
2 errors generated.
Exit Code:
1