home *** CD-ROM | disk | FTP | other *** search
- Since friends are not member functions, they do not have a "this"
- pointer. Any object to be accessed by the function must be passed
- as an argument. Passing the object as an argument can be one of
- the reasons for using friends. Because this function print() is a
- friend, it can be called with the familiar function-call syntax.
- Compare the calls shown here of the function print() and of the
- function display().
-