Saturday, September 26, 2015

Implementing the Iterator pattern

The Iterator pattern is used to access all the elements of an object without exposing its internal representation. This pattern is commonly used by libraries of containers such as the STL for decoupling accesses to a specific container from its implementation.

No comments:

Post a Comment