Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

clang HEAD 9.0.0 (https://github.com/llvm-mirror/clang.git 3be50fa19ae5beaf6eb1015e25574f7ca993c1d1) (https://github.com/llvm-mirror/llvm.git 064d9fea373539e630299b0ad302bf87740f7ef8)

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

Author

anonymous

about 6 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/clang-head/include -std=gnu++2a
prog.cc:16:9: error: no viable constructor or deduction guide for deduction of template arguments of 'der_pod'
der_pod dp {{}, {3, 3} };
        ^
prog.cc:11:2: note: candidate template ignored: couldn't infer template argument 'T'
        der_pod(T, U...)
        ^
prog.cc:6:8: note: candidate function template not viable: requires 0 arguments, but 2 were provided
struct der_pod : public base_pod
       ^
prog.cc:6:8: note: candidate function template not viable: requires 1 argument, but 2 were provided
1 error generated.
Exit Code:
1