Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

C++

Compiler

gcc HEAD 10.0.0 20190501 (experimental)

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

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.70.0/gcc-head/include -std=gnu++2a
0 0.01 0.02 
1 1.01 1.02 
2 2.01 2.02 
3 3.01 3.02 
4 4.01 4.02 
5 5.01 5.02 
6 6.01 6.02 
7 7.01 7.02 
8 8.01 8.02 
9 9.01 9.02 

Range-based for
0 0.01 0.02 
1 1.01 1.02 
2 2.01 2.02 
3 3.01 3.02 
4 4.01 4.02 
5 5.01 5.02 
6 6.01 6.02 
7 7.01 7.02 
8 8.01 8.02 
9 9.01 9.02 
Exit Code:
0