home *** CD-ROM | disk | FTP | other *** search
- A good programming practice is to declare as constant each member
- function that does not alter the values of any data members. The
- client can then declare an object of the class to be constant,
- without being concerned whether or not the public member functions
- are constant. An improvement to the PhoneBk class is to declare
- as constant the member functions that do not alter the data in a
- PhoneBk object.
-