Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 6 years ago

Language

C++

Compiler

clang HEAD 8.0.0 (https://github.com/llvm-mirror/clang.git a6b9739069763243020f4ea6fe586bc135fde1f9) (https://github.com/llvm-mirror/llvm.git 032b00a5404865765cda7db3039f39d54964d8b0)

Options
Warnings
Boost 1.69.0
C++2a(GNU)
-pedantic-errors

Author

anonymous

over 6 years ago

tight_pair.h

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/clang-head/include -std=gnu++2a -pedantic-errors
prog.cc:9:45: error: no matching function for call to 'binaryTraitAre_impl'
        return Trait<First, Second>{}() and binaryTraitAre_impl<Trait, Rest...>();
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prog.cc:9:45: note: in instantiation of function template specialization 'binaryTraitAre_impl<is_convertible, int *, void *>' requested here
prog.cc:15:5: note: in instantiation of function template specialization 'binaryTraitAre_impl<std::is_convertible, int, int &, int *, void *>' requested here
    binaryTraitAre_impl<std::is_convertible, PAIR(int, int&), PAIR(int*, void*)>();
    ^
prog.cc:3:17: note: candidate template ignored: couldn't infer template argument 'First'
        constexpr bool binaryTraitAre_impl()
                       ^
1 error generated.
Exit Code:
1