July 2000
Intermediate to advanced
1280 pages
34h 55m
English
As you saw in the previous section, the overloaded operators give you a powerful tool to make C++ code more beautiful by treating objects of programmer-defined types similarly to variables of built-in numeric types. There are, however, some limitations that C++ places on the use of overloaded operators. Some of these operations will not limit you much, but some are quite essential. In this section, I will discuss these limitations.
There are some limitations on operator overloading that are not very important for the practicing programmer, at least not at this stage. You cannot overload operator :: (scope), operator .* (member object selector), operator . (class object ...
Read now
Unlock full access