Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 8 years ago

Language

Compiler

Options

Author

anonymous

almost 8 years ago

$
prog.cc: In function 'int main()':
prog.cc:14:20: error: cannot call function 'void bar(T) [with T = int]'
 int main() { bar(42); }
                    ^
prog.cc:12:6: note:   constraints not satisfied
 void bar(T) {}
      ^~~
prog.cc:12:6: note: invalid use of the concept 'C1<typename T::type>'
prog.cc:14:20: error: 'int' is not a class, struct, or union type
 int main() { bar(42); }
                    ^
Exit Code:
1