Language
C++
Compiler
gcc HEAD 10.0.0 20190428 (experimental)
Options
Warnings
Boost 1.68.0
C++17
no pedantic
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/gcc-head/include -std=c++17
Exit Code:
1
Author
anonymous
about 6 years ago
C++
gcc HEAD 10.0.0 20190428 (experimental)
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;
| ^