Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 5 years ago

Language

C++

Compiler

clang HEAD 11.0.0 (https://github.com/llvm/llvm-project.git 3847a6ae759e0be06b9a3cd3d303099a6cd41d7d)

Options
Warnings
Boost 1.73.0
C++17
no pedantic

Author

anonymous

about 5 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/clang-head/include -std=c++17
prog.cc:11:14: error: template template argument has different template parameters than its corresponding template template parameter
    Foo<int, Bar> test;
             ^
prog.cc:1:22: note: template type parameter pack does not match template type parameter in template argument
template <typename...>
                     ^
prog.cc:4:41: note: previous template type parameter declared here
template <typename T, template <typename> typename C> 
                                        ^
1 error generated.
Exit Code:
1