I saw in some books that assignment operator ,function call operator etc can be overloaded by using member functions but not by friend function.Why certain operators can not overloaded by using friend function ??
Asked
Active
Viewed 53 times
1
-
Seems like you are talking about C++....edit your Tag. – Hello World May 17 '14 at 17:48
-
Because the standard says so. I don't see how this can be objectively and productively answered. VTC. – bitmask May 17 '14 at 17:54