Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

C++

Compiler

clang 10.0.0

Options
Don't Use Boost
C++2a
no pedantic

$ clang++ prog.cc -std=c++2a
prog.cc:9:19: error: cannot add a default template argument to the definition of a member of a class template
template<typename Type = int>
                  ^      ~~~
1 error generated.
Exit Code:
1