Language
Compiler
Options
$
prog.cc: In function 'int main()':
prog.cc:39:53: error: no matching function for call to 'X::f(Begin, Body, End)'
decltype( QUORIFY f( Begin{}, Body{}, End{} ) ) x;
^
prog.cc:25:21: note: candidate: 'template<class T> static int X::f(T, End)'
static auto f( T, End )
^
prog.cc:25:21: note: template argument deduction/substitution failed:
prog.cc:39:53: note: candidate expects 2 arguments, 3 provided
decltype( QUORIFY f( Begin{}, Body{}, End{} ) ) x;
^
prog.cc:29:21: note: candidate: 'template<class ... Ts> static decltype (X::f(make_tuple(X::f::args ...))) X::f(Begin, Ts ...)'
static auto f( Begin, Ts... args )
^
prog.cc:29:21: note: template argument deduction/substitution failed:
prog.cc: In substitution of 'template<class ... Ts> static decltype (X::f(make_tuple(X::f::args ...))) X::f(Begin, Ts ...) [with Ts = {Body, End}]':
prog.cc:39:53: required from here
prog.cc:30:39: error: no matching function for call to 'X::f(Tuple<Body, End>)'
-> decltype( QUORIFY f( make_tuple( args... ) ) );
^
prog.cc:25:21: note: candidate: 'template<class T> static int X::f(T, End)'
static auto f( T, End )
^
prog.cc:25:21: note: template argument deduction/substitution failed:
prog.cc:30:39: note: candidate expects 2 arguments, 1 provided
-> decltype( QUORIFY f( make_tuple( args... ) ) );
^
prog.cc:34:21: note: candidate: 'template<class ... Ts> static decltype (X::f({}...)) X::f(Tuple<Ts ...>)'
static auto f( Tuple<Ts...> )
^
prog.cc:34:21: note: template argument deduction/substitution failed:
prog.cc:39:53: note: 'Begin' is not derived from 'Tuple<Ts ...>'
decltype( QUORIFY f( Begin{}, Body{}, End{} ) ) x;
^
prog.cc:39:53: error: no matching function for call to 'X::f(Begin, Body, End)'
prog.cc:25:21: note: candidate: 'template<class T> static int X::f(T, End)'
static auto f( T, End )
^
prog.cc:25:21: note: template argument deduction/substitution failed:
prog.cc:39:53: note: candidate expects 2 arguments, 3 provided
decltype( QUORIFY f( Begin{}, Body{}, End{} ) ) x;
^
prog.cc:29:21: note: candidate: 'template<class ... Ts> static decltype (X::f(make_tuple(X::f::args ...))) X::f(Begin, Ts ...)'
static auto f( Begin, Ts... args )
^
prog.cc:29:21: note: template argument deduction/substitution failed:
prog.cc: In substitution of 'template<class ... Ts> static decltype (X::f(make_tuple(X::f::args ...))) X::f(Begin, Ts ...) [with Ts = {Body, End}]':
prog.cc:39:53: required from here
prog.cc:30:39: error: no matching function for call to 'X::f(Tuple<Body, End>)'
-> decltype( QUORIFY f( make_tuple( args... ) ) );
^
prog.cc:25:21: note: candidate: 'template<class T> static int X::f(T, End)'
static auto f( T, End )
^
prog.cc:25:21: note: template argument deduction/substitution failed:
prog.cc:30:39: note: candidate expects 2 arguments, 1 provided
-> decltype( QUORIFY f( make_tuple( args... ) ) );
^
prog.cc:34:21: note: candidate: 'template<class ... Ts> static decltype (X::f({}...)) X::f(Tuple<Ts ...>)'
static auto f( Tuple<Ts...> )
^
prog.cc:34:21: note: template argument deduction/substitution failed:
prog.cc:39:53: note: 'Begin' is not derived from 'Tuple<Ts ...>'
decltype( QUORIFY f( Begin{}, Body{}, End{} ) ) x;
^
Exit Code:
1