Language
C++
Compiler
gcc HEAD 13.0.0 20220820 (experimental)
Options
Warnings
Don't Use Boost
C++2a
no pedantic
Raw compiler options
other.cpp
$ g++ prog.cc -Wall -Wextra -std=c++2a other.cpp
Value(42)
in main(): 0x404194
in foo(): 0x404194
main ends...
~Value(42)
Exit Code:
0