Language
C++
Compiler
gcc HEAD 9.0.1 20190319 (experimental)
Options
Warnings
Boost 1.69.0
C++2a(GNU)
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/gcc-head/include -std=gnu++2a
a c
a
a
a
a c
a
a b c
Exit Code:
0
Author
anonymous
over 6 years ago
C++
gcc HEAD 9.0.1 20190319 (experimental)
Author
anonymous
over 6 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/gcc-head/include -std=gnu++2a
prog.cc: In function 'int main()':
prog.cc:58:10: warning: variable 'result' set but not used [-Wunused-but-set-variable]
58 | auto result = copy_without_comments(test.begin(), test.end(), std::ostream_iterator<char>(std::cout));
| ^~~~~~
a c
a
a
a
a c
a
a b c