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:17:17: error: no matching function for call to 'toString'
   std::cout << toString(make_tuple(12.0f, 123, 'c'));
                ^~~~~~~~
prog.cc:9:6: note: candidate template ignored: requirement 'is_same_v<float, int>' was not satisfied [with T = float, Args = <int, char>, $2 = nullptr]
auto toString(tuple<T, Args...> tup) 
     ^
1 error generated.
Exit Code:
1