5 ms·
operator overloading means changing what + or * do. Ie, overloading the * operator for a Matrix class so you could do this: Matrix a = new Matrix(); Matrix b
by hdctambien 11y ago
operator overloading means changing what + or * do.
Ie, overloading the * operator for a Matrix class so you could do this:
Matrix a = new Matrix();
Matrix b = new Matrix();
Matrix c = a * b;
That is different than function overloading, which you are referencing.