Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 3 years ago

Language

C++

Compiler

clang 13.0.0

Options
Warnings
Boost 1.78.0
C++2b(GNU)
no pedantic

Author

anonymous

over 3 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.78.0-clang-13.0.0/include -std=gnu++2b
== Creating a list of shapes
== Adding 3 shapes
CTOR
CTOR
CTOR
== Drawing a list of shapes
Drawing a circle with radius 2 Coordinates (0, 0)
Drawing a square with side 1.5 Coordinates (0, 0)
Drawing a circle with radius 4.2 Coordinates (0, 0)
== Copying a list of shapes
Copy CTOR
Copy CTOR
Copy CTOR
== Drawing the copied list of shapes
Drawing a circle with radius 20 Coordinates (0, 0)
Drawing a square with side 15 Coordinates (0, 0)
Drawing a circle with radius 42 Coordinates (0, 0)
== Drawing the original list of shapes
Drawing a circle with radius 2 Coordinates (0, 0)
Drawing a square with side 1.5 Coordinates (0, 0)
Drawing a circle with radius 4.2 Coordinates (0, 0)
== Create new shape
CTOR
Drawing a circle with radius 2 Coordinates (0, 0)
== Moving the shape
Move CTOR
Drawing a circle with radius 2 Coordinates (0, 0)
== Copying the shape
Copy CTOR
Drawing a circle with radius 2 Coordinates (0, 0)
== Assigning a shape
Assign
Drawing a circle with radius 2 Coordinates (0, 0)
== Move assigning a shape
Move Assign
Drawing a circle with radius 2 Coordinates (0, 0)
Exit Code:
0