q tells the operators one can override which


Q:  Tells the operators one can override; which operators should he override?

A: Bottom line: don't puzzle your users.

Remember the reason of operator overloading: to decrease the cost and defect rate in code that uses your class. If you create operators which confuse users (because they're cool, because they make the code faster, since you have to prove to yourself that you can do it; doesn't really matter why), you've violated the entire reason for using operator overloading in the first place.

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: q tells the operators one can override which
Reference No:- TGS0217728

Expected delivery within 24 Hours