I am confused on how to implement the copy constructor, operators and a destructor given different contexts
I have a vector(int size_=0, double = 0); constructor from a given vector class and I have to implement the copy constructor: vector(const Vector&)
The copy constructor needs to make a deep copy of the
provided Vector object, and the assignment operator should release all memory controlled by the current
object before it makes a deep copy of the provided Vector object.
I also have to implement a bool operator==(const Vector &) const) and a bool operator!=(const Vector &) const; operators,These comparison operators should deﬁne how tests for equality and inequality are performed.