In file included from main.cpp:16:0:
set.h: In member function 'Set Set::Union(const Set&) const':
set.h:30:22: error: use of deleted function 'Set::Set(const Set&)'
return Set(newSet);
^
set.h:125:3: note: declared here
Set(const Set &) = delete;
^~~
set.h: In member function 'Set Set::Intersection(const Set&) const':
set.h:45:19: error: use of deleted function 'Set::Set(const Set&)'
return Set(buf);
^
set.h:125:3: note: declared here
Set(const Set &) = delete;
^~~
set.h: In member function 'Set Set::Difference(const Set&) const':
set.h:72:19: error: use of deleted function 'Set::Set(const Set&)'
return Set(buf);
^
set.h:125:3: note: declared here
Set(const Set &) = delete;
^~~
set.h: In member function 'Set Set::SymmetricDifference(const Set&) const':
set.h:88:21: error: use of deleted function 'Set::Set(const Set&)'
return Set(new_v);
^
set.h:125:3: note: declared here
Set(const Set &) = delete;
^~~
|