Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 4 years ago

Language

C++

Compiler

clang HEAD 12.0.0 (https://github.com/llvm/llvm-project.git 1c19900f9417bd0b832c1cb70863b2439a18647f)

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

Author

anonymous

over 4 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/clang-head/include -std=gnu++2a
prog.cc:5:36: error: lambda requires '()' before 'mutable'
auto noSean = [s2 = std::move(s2)] mutable {
                                   ^
                                   () 
prog.cc:7:8: error: no member named 'cout' in namespace 'std'
  std::cout << s2 << '\n'; 
  ~~~~~^
2 errors generated.
Exit Code:
1