Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 6 years ago

Language

C++

Compiler

gcc 7.3.0

Options
Boost 1.70.0
C++17(GNU)
no pedantic

Author

anonymous

almost 6 years ago

$ g++ prog.cc -I/opt/wandbox/boost-1.70.0/gcc-7.3.0/include -std=gnu++17
-------
Parsing {}
-------
Parsing { { "one", A(42) } }
 Key "one": Hello A: 42
-------
Parsing { { "two", B(3.14) } }
 Key "two": Hello B: 3.14
-------
Parsing { { "three", A( -42 ) }, { "four", B( -3.14 ) } }
 Key "four": Hello B: -3.14
 Key "three": Hello A: -42
Exit Code:
0