First page Back Continue Last page Overview Graphics
Implementation:
Privileged access
- How does Iterator access items in Aggregate without making such access available to all clients?
- “Friend” access in C++ requires knowledge of all Iterators by Aggregate.
- “Protected” access in C++ requires Iterator to be a subclass of Aggregate.