Language
C++
Compiler
gcc HEAD 10.0.0 20190710 (experimental)
Options
Optimization
Boost 1.70.0
C++2a(GNU)
no pedantic
$ g++ prog.cc -O2 -march=native -I/opt/wandbox/boost-1.70.0/gcc-head/include -std=gnu++2a
====== " -89 0038 "
Result value: two_i(-89, 38) with 0 diagnostics messages:
====== " \"-89 0038\" "
Result value: quoted("-89 0038") with 0 diagnostics messages:
====== " something123123 ;"
Result value: bare(something123123) with 0 diagnostics messages:
====== ""
Parsing failed with 1 diagnostics messages:
- Expecting quoted string, bare string or integer number pair at
^
====== " -89 oops "
Parsing failed with 2 diagnostics messages:
- Expecting integral number at
-89 oops
-------^
- Expecting quoted string, bare string or integer number pair at
-89 oops
^
====== " \"-89 0038 "
Parsing failed with 2 diagnostics messages:
- Expecting '"' at
"-89 0038
--------------^
- Expecting quoted string, bare string or integer number pair at
"-89 0038
^
====== " bareword "
Parsing failed with 2 diagnostics messages:
- Expecting ';' at
bareword
------------^
- Expecting quoted string, bare string or integer number pair at
bareword
^
====== " -89 3.14 "
Parsing failed with 1 diagnostics messages:
- Expecting eoi at
-89 3.14
--------^
Exit Code:
0