If you are overloaded - like operator- (), it should be used to the left of the object, however, overload (), like operator () (), is used to the right of the object. How do we know which operator should be used on the left and which on the right?
c ++ operator-overloading
shreyasva
source share