August 2001
Beginner
482 pages
10h 52m
English
At times, you will want to grant the friend level of access, not to an entire class, but to only one or two functions of that class. You can do this by declaring the member functions of the other class to be friends, rather than declaring the entire class to be a friend. In fact, you can declare any function, whether or not it is a member function of another class, to be a friend function.
Read now
Unlock full access