Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 4 years ago

Language

C++

Compiler

clang HEAD 13.0.0 (https://github.com/llvm/llvm-project.git c4ed142e695f14ba5675ec6d12226ee706329a0f)

Options
Warnings
Boost 1.73.0
C++2b(GNU)
no pedantic

Author

anonymous

almost 4 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/clang-head/include -std=gnu++2b
prog.cc:22:9: error: static_assert failed due to requirement 'dependent_false<std::map<int, float, std::less<int>, std::allocator<std::pair<const int, float>>>>::value' "HERE2"
        static_assert(dependent_false<T>::value, "HERE2");
        ^             ~~~~~~~~~~~~~~~~~~~~~~~~~
prog.cc:29:5: note: in instantiation of function template specialization 'foo<std::map<int, float>>' requested here
    foo<T>();
    ^
1 error generated.
Exit Code:
1