8.13 — Friend functions and classes « Learn C++
This program produces the following result: 6.7 5 A few additional notes on friend classes. First, even though Display is a friend of Storage, Display has no direct access to the *this pointer of Storage objects. Second, just because Display is a friend o...