Vector(const Vector& other) // Copy constructor { x = other.x; y = other.y;
Why is the argument a const?
In order to not be able to change other (by accident)?
other