friend Specifier
The friend specifier is used to designate functions or classes that have the same access privileges as class member functions. Friend functions and classes are covered in detail in friend.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The friend specifier is used to designate functions or classes that have the same access privileges as class member functions. Friend functions and classes are covered in detail in friend.