Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

gcc HEAD 10.0.0 20190428 (experimental)

Options
Warnings
Boost 1.68.0
C++17
no pedantic

Author

anonymous

about 6 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/gcc-head/include -std=c++17
prog.cc: In function 'T make()':
prog.cc:15:12: error: use of deleted function 'T::T(const T&)'
   15 |     return local;
      |            ^~~~~
prog.cc:5:5: note: declared here
    5 |     T(const T &) = delete;
      |     ^
Exit Code:
1