27
Index- vs. Cursor-based Operations
•Vectors are unique in that they have both index-based and cursor-based operations. •The cursor-based operations make it easier to switch between a vector and some other container (usually a list), and provide a uniform syntax for iteration (that applies to all containers).  [See list ex. on p. 42.]