Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 7 years ago

Language

C++

Compiler

clang 6.0.0

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

Author

anonymous

about 7 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/clang-6.0.0/include -std=gnu++2a
prog.cc:7:4: error: 'decltype(((std::ostringstream{}) << "< "))' (aka 'std::__1::basic_ostringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> > &&') is not a class, namespace, or enumeration
   decltype(((std::ostringstream{}) << "< "))::nothing;
   ^
prog.cc:8:4: error: 'decltype((s << "< "))' (aka 'basic_ostream<char, std::__1::char_traits<char> > &') is not a class, namespace, or enumeration
   decltype((s << "< "))::nothing;
   ^
2 errors generated.
Exit Code:
1