Language
C++
Compiler
gcc 8.1.0
Options
Warnings
Boost 1.70.0
C++17
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.70.0/gcc-8.1.0/include -std=c++17
============ ''
Parse failed
============ 'float: 3.14'
Parsed 'float:3.14'
============ 'int: 3.14'
Parsed 'int:3'
Remaining input: '.14'
============ 'tuple: [float: 3.14,int: 3]'
Parsed 'tuple: [float:3.14,int:3,]'
============ 'tuple: [ float: 3.14, int: 3 ]'
Parsed 'tuple: [float:3.14,int:3,]'
============ 'float:3.14'
Parsed 'float:3.14'
============ 'int:3.14'
Parsed 'int:3'
Remaining input: '.14'
============ 'tuple:[float: 3.14,int: 3]'
Parsed 'tuple: [float:3.14,int:3,]'
============ 'tuple:[float:3.14,int:3]'
Parsed 'tuple: [float:3.14,int:3,]'
============ 'tuple: [ float:3.14, int:3 ]'
Parsed 'tuple: [float:3.14,int:3,]'
============ '
tuple: [
int : 4,
float: 7e9,
tuple: [float: -inf],
int: 42
]'
Parsed 'tuple: [int:4,float:7e+09,tuple: [float:-inf,],int:42,]'
Exit Code:
0