Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 7 years ago

Language

C++

Compiler

clang HEAD 8.0.0 (https://github.com/llvm-mirror/clang.git 731525c2421e2dc739ca34419912abbf5c8091bd) (https://github.com/llvm-mirror/llvm.git ee5f4639a8f93d80faef1f864022bec2fde35997)

Options
Warnings
Boost 1.68.0
C++2a
no pedantic

Author

anonymous

over 7 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/clang-head/include -std=c++2a
prog.cc:11:5: error: no matching function for call to 'print'
    print(v);
    ^~~~~
prog.cc:6:6: note: candidate template ignored: substitution failure : template template argument has different template parameters than its corresponding template template parameter
void print(const C<T>& c){
     ^
1 error generated.
Exit Code:
1