Language
C++
Compiler
gcc 8.3.0
Options
Warnings
Don't Use Boost
Compiler Default
-pedantic
$ g++ prog.cc -Wall -Wextra -pedantic
local
local(0x7ffc31ac9940)
local=0x7ffc31ac9940
destroy local(0x7ffc31ac9940)
-----
rvo
rvo(0x7ffc31ac9940)
returned=0x7ffc31ac9940
destroy rvo(0x7ffc31ac9940)
-----
nrvo
nrvo(0x7ffc31ac9940)
returned=0x7ffc31ac9940
destroy [nrvo](0x7ffc31ac9940)
Exit Code:
0