Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 4 years ago

Language

C++

Compiler

gcc HEAD 11.0.0 20200917 (experimental)

Options
Warnings
Boost 1.73.0
C++2a(GNU)
no pedantic
Raw compiler options
-std=c++20

Author

anonymous

over 4 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-head/include -std=gnu++2a -std=c++20
length : 6

Element: 5

Element: 13

Element: 4

Element: 8

Element: 48

Element: 12

BACK

Element: 12

Element: 48

Element: 8

Element: 4

Element: 13

Element: 5
delete the node we just left : 12
delete the node we just left : 48
delete the node we just left : 8
delete the node we just left : 4
delete the node we just left : 13
finaly we clear the head
Exit Code:
0