Is operator overloading practical in in c++?
6/25/2019 5:42:36 AM
Sanjay Kamath4 Answers
New Answerhttps://code.sololearn.com/cHJ0O7DW54OF/?ref=app https://www.sololearn.com/learn/CPlusPlus/1901/
Using an operator like + is always more concise than using a function name, so I guess it is practical.
It definitely is. You'll find it in a lot of code you'll read. Operator overloading is one of the skills you should have a firm grasp of if you plan on really programming c++.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message