Classes and Design

Friend Functions

How friend functions and friend classes reach private members, plus the types of inheritance.

What Is a Friend Class in C++?

Learn what a friend class is in C++, how a friend declaration gives one class access to another's private members, and the limits of that access.

3 min read

Related topics

More in classes and design