Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Language

C++

Compiler

gcc HEAD 12.0.1 20220411 (experimental)

Options
Warnings
Don't Use Boost
C++2a
-pedantic

$ g++ prog.cc -Wall -Wextra -std=c++2a -pedantic
t = 3
t = 2
Exit Code:
0