Author
anonymous
over 7 years ago
Language
Compiler
Options
Author
anonymous
over 7 years ago
$
prog.cc: In function 'int main()':
prog.cc:34:12: error: use of deleted function 'd::d(d&&)'
d d1{ d{} };
^
prog.cc:27:2: note: 'd::d(d&&)' is implicitly deleted because the default definition would be ill-formed:
d(d&&) = default;
^
prog.cc:27:2: error: use of deleted function 'noncopyable::noncopyable(const noncopyable&)'
prog.cc:8:2: note: declared here
noncopyable(const noncopyable&) = delete;
^
Exit Code:
1