Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 7 years ago

Language

Compiler

Options

Author

anonymous

over 7 years ago

$
prog.cc:15:24: error: 'trait<T>::type' is not a type
     typename trait<T>::type<long long>;
                        ^~~~
prog.cc: In function 'int main()':
prog.cc:26:11: error: cannot call function 'constexpr bool foo(auto:1) [with auto:1 = char]'
    foo('c');
           ^
prog.cc:18:16: note:   constraints not satisfied
 constexpr bool foo(SatisfiesTrait) {
                ^~~
prog.cc:18:16: note: in the expansion of concept 'SatisfiesTrait<auto:1>' template<class T> concept const bool SatisfiesTrait<T> [with T = char]
Exit Code:
1