friend Function-prototype;
or
friend class Class-name;
in the class definition.
a + b
and b + a
are equivalent.
This page was last modified on Feb 1, 2001
URL: http://people.hsc.edu/faculty-staff/robbk/Coms262/Lectures/OperatorsFriends.html