Language
C++
Compiler
gcc 8.2.0
Options
Warnings
Boost 1.68.0
C++2a(GNU)
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/gcc-8.2.0/include -std=gnu++2a
i = 4
i = 5
i = 6
size = 3
val = 4
Exit Code:
0
Author
anonymous
over 6 years ago
C++
gcc 8.2.0
Author
anonymous
over 6 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/gcc-8.2.0/include -std=gnu++2a
prog.cc: In function 'int main()':
prog.cc:71:8: warning: unused variable 'success' [-Wunused-variable]
bool success = qi::phrase_parse(begin, end, parser, qi::space, result);
^~~~~~~
i = 4
i = 5
i = 6
size = 3
val = 4