| | | | <- prev | |

Iterators Overview

  • Iterators provide access to container elements
  • Iterators provide interface between generic algorithms and containers
  • Proper type
  • Uniform public interface across variety of containers
  • Classify iterators by public interface functionality
    • input and output iterators
    • forward iterators
    • bidirectional iterators
    • random access iterators
    • adaptor iterators
  • Specialize iterators to containers with implementation

<- prev | | Top of Page | 7. Iterators - 1 of 13