C++ For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
|
| < Day Day Up > |
|
-
In your own words describe the goal of operator overloading.
-
Describe the difference between a shallow copy and a deep copy.
-
What type of copy does a default, compiler-provided assignment operator perform?
-
Describe how operator overloading is related to function overloading.
-
(T/F) Operators overloaded in base classes can be overridden in derived classes.
-
What is the purpose of the dummy integer parameter in the postfix version of the increment and decrement operators?
-
What level of access does a friend function of a class enjoy?
-
How would non-member operator functions gain access to private class data members?
-
When overloading arithmetic operators, to what type of error checking should you pay particular attention?
-
What is the ultimate result and benefit of operator overloading?
|
| < Day Day Up > |
|