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:12:20: error: cannot call function 'void bar(auto:1) [with auto:1 = int]'
 int main() { bar(42); }
                    ^
prog.cc:10:6: note:   constraints not satisfied
 void bar(C2) {}
      ^~~
prog.cc:10:6: note: in the expansion of concept 'C2<auto:1> template<class T> concept const bool C2<T> [with T = int]'
Exit Code:
1