keywords:friend

C++ Reference

friend

The friend keyword allows classes or functions not normally associated with a given class to have access to the private data of that class.

Related Topics: class