Lecture overview -- Keyboard shortcut: 'u'  Previous page: Friends -- Keyboard shortcut: 'p'  Next page: Friends - Example 2 -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Lecture 3 - Page 29 : 36
Notes about C++
Abstraction Mechanisms, Part 1
Friends - Example 1

A function needs access to private variables in two classes

y:/Kurt/Files/Advanced-programming-cpp/cpp/kn/friends/situation-6/friends-sit6.ccA function f get access to the private state of both class A and B.


Matrix Vector multiplication is a compelling, practical example of this approach, see §11.5 in The C++ Programming Language