
Using Insert Iterators
Insert iterators come in very handy when you need to populate a container using an STL algorithm which uses an assignment operator to fill in the data: int iArr [] = {2, 2, 3, 4, 5, 6, 7};#include vector vecInt; For example, the following statement will fail because vecInt is