Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 4 years ago

Language

C++

Compiler

gcc 10.1.0

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

Author

anonymous

about 4 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-10.1.0/include -std=gnu++2a
prog.cc: In instantiation of 'void print(std::span<_Tp, _Num>) [with T = char; long unsigned int N = 6]':
prog.cc:20:25:   required from here
prog.cc:11:14: warning: unused variable 'element' [-Wunused-variable]
   11 |     for(auto element : container)
      |              ^~~~~~~
Exit Code:
0