Author
anonymous
over 7 years ago
Language
Compiler
Options
Author
anonymous
over 7 years ago
$
prog.cc:13:19: error: no viable constructor or deduction guide for deduction of template arguments of 'Bar'
Foo<int>::Bar bar("abc");
^
prog.cc:6:12: note: candidate template ignored: could not match 'Bar<T>' against 'const char *'
struct Bar {
^
prog.cc:6:12: note: candidate function template not viable: requires 0 arguments, but 1 was provided
1 error generated.
Exit Code:
1