Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 2 years ago

Language

C++

Compiler

clang HEAD 18.0.0 (https://github.com/llvm/llvm-project.git 57a0416e0e8ccd522d4242dbe5d0d7893864a10a)

Options
Warnings
Don't Use Boost
C++2b
no pedantic
Raw compiler options
-std=c++2c

Author

anonymous

almost 2 years ago

$ clang++ prog.cc -Wall -Wextra -std=c++2b -std=c++2c
Destructor called 3.
Destructor called 4.
Destructor called 2.
Destructor called 1.
Exit Code:
0