Taking for example the declaration of this method:
const Vector Vector::operator - ( const Vector& other ) const;
I know that the second const makes the vector passed as an argument unchanged and that the last const declares that the method does not change the current instance of the Vector class ....
- But what does the first or <mean? > first
const ?
Yukon source share