Language
C++
Compiler
clang 5.0.0
Options
Warnings
Boost 1.69.0
C++17
no pedantic
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/clang-5.0.0/include -std=c++17
Exit Code:
1
Author
anonymous
over 6 years ago
C++
clang 5.0.0
Author
anonymous
over 6 years ago
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/clang-5.0.0/include -std=c++17
prog.cc:22:7: error: call to deleted constructor of 'A'
A a{AFactory()};
^~~~~~~~~~~~~
prog.cc:6:5: note: 'A' has been explicitly marked deleted here
A(A &&) = delete;
^
1 error generated.