+ 4

Operator overloading

Is operator overloading practical in in c++?

25th Jun 2019, 5:42 AM
Sanjay Kamath
Sanjay Kamath - avatar
4 Respuestas
+ 7
Using an operator like + is always more concise than using a function name, so I guess it is practical.
25th Jun 2019, 5:50 AM
Sonic - avatar
+ 2
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++.
25th Jun 2019, 8:02 AM
Mensch - avatar
Yeah it is practical
7th Aug 2019, 2:02 PM
Nithish Nithish
Nithish Nithish - avatar