Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 6 years ago

Language

C++

Compiler

gcc 8.3.0

Options
Warnings
Boost 1.68.0
C++2a(GNU)
no pedantic

Author

anonymous

almost 6 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/gcc-8.3.0/include -std=gnu++2a
 ==== "circle at center, 1, 2, 3"
Parsed 1 shapes
shape:circle at center, 1, 2, 3
 ==== "at top, 1, 2, 3"
Parsed 1 shapes
shape:ellipse at top, 1, 2, 3
 ==== "at bottom"
Parsed 1 shapes
shape:ellipse at bottom
 ==== "1, 2, 3"
Parsed 1 shapes
shape:ellipse at top, 1, 2, 3
 ==== "my_fancy_shape at right, 1"
Parsed 1 shapes
custom:"my_fancy_shape" at right, 1
 ==== "circle at center, 1, 2, 3
               at top, 1, 2, 3
               at bottom
               circle, 1, 2, 3
               1, 2, 3
               my_fancy_shape at right, 1"
Parsed 6 shapes
shape:circle at center, 1, 2, 3
shape:ellipse at top, 1, 2, 3
shape:ellipse at bottom
shape:circle at top, 1, 2, 3
shape:ellipse at top, 1, 2, 3
custom:"my_fancy_shape" at right, 1
 ==== "circle, 1, 2 3"
Parsed 1 shapes
shape:circle at top, 1, 2
Remaining unparsed input: " 3"
 ==== ", 1, 2, 3"
Parsed 1 shapes
shape:ellipse at top
Remaining unparsed input: ", 1, 2, 3"
 ==== "circle 1, 2, 3"
Parse failed
Remaining unparsed input: "circle 1, 2, 3"
Exit Code:
0