Author
anonymous
about 7 years ago
Language
Compiler
Options
Author
anonymous
about 7 years ago
$
prog.cc: In instantiation of 'typename std::enable_if<std::is_same<pack<int, U ...>, pack<U ..., int> >::value, void>::type testFunction(T, U ...) [with T = int; U = {int, int, int, int}; typename std::enable_if<std::is_same<pack<int, U ...>, pack<U ..., int> >::value, void>::type = void]':
prog.cc:20:31: required from here
prog.cc:9:21: warning: unused parameter 'a' [-Wunused-parameter]
type testFunction(T a, U... bs) {
~~^
prog.cc:9:25: warning: unused parameter 'bs#0' [-Wunused-parameter]
type testFunction(T a, U... bs) {
~^~~~~~
prog.cc:9:25: warning: unused parameter 'bs#1' [-Wunused-parameter]
prog.cc:9:25: warning: unused parameter 'bs#2' [-Wunused-parameter]
prog.cc:9:25: warning: unused parameter 'bs#3' [-Wunused-parameter]
prog.cc: In instantiation of 'typename std::enable_if<std::is_same<pack<float, U ...>, pack<U ..., float> >::value, void>::type testFunction(T, U ...) [with T = int; U = {float, float, float, float}; typename std::enable_if<std::is_same<pack<float, U ...>, pack<U ..., float> >::value, void>::type = void]':
prog.cc:21:43: required from here
prog.cc:15:21: warning: unused parameter 'a' [-Wunused-parameter]
type testFunction(T a, U... bs) {
~~^
prog.cc:15:25: warning: unused parameter 'bs#0' [-Wunused-parameter]
type testFunction(T a, U... bs) {
~^~~~~~
prog.cc:15:25: warning: unused parameter 'bs#1' [-Wunused-parameter]
prog.cc:15:25: warning: unused parameter 'bs#2' [-Wunused-parameter]
prog.cc:15:25: warning: unused parameter 'bs#3' [-Wunused-parameter]
bs are integers
bs are floats
Exit Code:
0