Friends
Let's discuss friends in this lesson.
We'll cover the following...
Friends
Friends of a class template have access to all members of the class template.
A class or a class template can have a friendship to class or class templates, function or function templates, and types.
Rules:
- The declaration of friends can be made at an arbitrary place