Author
anonymous
over 7 years ago
Language
Compiler
Options
Author
anonymous
over 7 years ago
$
prog.cc: In instantiation of 'void Base<First>::func(First) [with First = X]':
prog.cc:23:14: required from here
prog.cc:12:21: warning: unused parameter 'object' [-Wunused-parameter]
void func(First object) {std::cout << typeid(First).name() << std::endl;}
~~~~~~^~~~~~
prog.cc: In instantiation of 'void Base<First>::func(First) [with First = Y]':
prog.cc:24:14: required from here
prog.cc:12:21: warning: unused parameter 'object' [-Wunused-parameter]
prog.cc: In instantiation of 'void Base<First>::func(First) [with First = Z]':
prog.cc:25:14: required from here
prog.cc:12:21: warning: unused parameter 'object' [-Wunused-parameter]
1X
1Y
1Z
Exit Code:
0