Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 4 years ago

Language

C++

Compiler

clang HEAD 12.0.0 (https://github.com/llvm/llvm-project.git 1c19900f9417bd0b832c1cb70863b2439a18647f)

Options
Warnings
Optimization
Boost 1.73.0
C++14
no pedantic
Raw compiler options
-fno-elide-constructors

Author

anonymous

over 4 years ago

$ clang++ prog.cc -Wall -Wextra -O2 -march=native -I/opt/wandbox/boost-1.73.0/clang-head/include -std=c++14 -fno-elide-constructors
prog.cc:13:11: warning: unused variable 'b2' [-Wunused-variable]
    Apple b2 = Apple(a);
          ^
1 warning generated.
copy
---------------
copy
move
Exit Code:
0