This function returns a const Matrix A when I plus a Matrix B and C. But then I should not be able to change that const Matrix, for example A = A + D;
, but I am. Could someone explain to me why that is possible?
const Matrix operator+(const Matrix&) const;