Wednesday, August 1, 2012

What and why are the operators that can't be overloaded?

We can't overload the 'sizeof', ':?', '::', '.' and '.*' operators in C++ since they take name as their argument whereas all other operators take value as argument.

No comments :