Language
C++
Compiler
gcc HEAD 12.0.0 20210619 (experimental)
Options
Warnings
Boost 1.73.0
C++2b(GNU)
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-head/include -std=gnu++2b
print_value
1
2
3
print_value_squared
1
4
9
Exit Code:
0