Here's what I've got:
void set::operator =(const set& source)
if (&source == this)
vset.cxx:33: error: declaration of 'source' shadows a parameter
I believe with
set(source); you are trying to call copy ctor. You can not do that in C++ i.e. you can not explicitly invoke the ctor. What you can do is write a private
method and call it in both copy ctor and assignment operator.