Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 4 years ago

Language

C++

Compiler

gcc 9.3.0

Options
Warnings
Boost 1.73.0
C++2a
no pedantic

Author

anonymous

about 4 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-9.3.0/include -std=c++2a
prog.cc: In function 'int main()':
prog.cc:20:10: warning: variable 'plus' set but not used [-Wunused-but-set-variable]
   20 |     auto plus = [](auto i){return std::get<0>(i) + std::get<1>(i);};
      |          ^~~~
N6ranges14transform_viewINS_8zip_viewIJNS_11repeat_viewIiEENS_8ref_viewISt6vectorIiSaIiEEEEEEEZ4mainEUlT_E_EE
Exit Code:
0