Author
anonymous
over 7 years ago
Language
Compiler
Options
Author
anonymous
over 7 years ago
$
prog.cc: In function 'int main(int, char**)':
prog.cc:41:14: warning: unused parameter 'argc' [-Wunused-parameter]
int main(int argc, char* argv[]) {
^~~~
prog.cc:41:31: warning: unused parameter 'argv' [-Wunused-parameter]
int main(int argc, char* argv[]) {
^
prog.cc: In instantiation of 'void bar() [with T = void]':
prog.cc:56:32: recursively required by substitution of 'template<class T, template<class ...> class Op, class ... Args> struct detect<T, Op, void_t<Op<T, Args ...> >, Args ...> [with T = void; Op = CanCallBar_t; Args = {}]'
prog.cc:56:32: required from here
prog.cc:24:3: error: static assertion failed
static_assert( !std::is_void<T>::value );
^~~~~~~~~~~~~
Exit Code:
1