Language
C++
Compiler
gcc HEAD 10.0.1 20200125 (experimental)
Options
Warnings
Boost 1.70.0
C++2a
-pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.70.0/gcc-head/include -std=c++2a -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, 4198064]
7: [1, 2, 3]
8: [1, 2, 3, 4, 5, 0, 4198064]
9: [1, 2, 3]
10: [3, 4, 5]
11: [2, 3, 4, 5]
12: [2, 3, 4]
Signal:
Aborted