Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

C++

Compiler

gcc HEAD 11.0.1 20210329 (experimental)

Options
Warnings
Boost 1.73.0
C++2b(GNU)
-pedantic

gsl/gsl-lite.hpp

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-head/include -std=gnu++2b -pedantic
terminate called without an active exception
1: [1, 2, 3, 4, 5]
2: [1, 2, 3, 4, 5, 6]
3: [1, 2, 3, 4, 5, 6, 7]
4: [1, 2, 3, 4, 5]
5: [1, 2, 3]
6: [1, 2, 3, 4, 5, 0, 4198224]
7: [1, 2, 3]
8: [1, 2, 3, 4, 5, 0, 4198224]
9: [1, 2, 3]
10: [3, 4, 5]
11: [2, 3, 4, 5]
12: [2, 3, 4]
Signal:
Aborted