friend

C++ Specific —>

friend class-name;

friend function-declarator;

The friend keyword allows a function or class to gain access to the private and protected members of a class. See Friend Classes and Friend Functions for examples. Also see class, public, private, protected.

END C++ Specific