Insert Iterators
[Iterators]
Collaboration diagram for Insert Iterators:
Insert iterators are a special type of iterator that can insert elements into a container.
More...
Detailed Description
Insert iterators are a special type of iterator that can insert elements into a container.
A primary use of insert iterators is with algorithms that copy elements to a destination range. Rather than providing a valid range as the destination for the algorithm, an insert iterator can be used with an initially empty container, and the algorithm will insert new elements into the container. There are three types of insert iterator for inserting elements at the front, at the back, and at an arbitrary location in the container.
| Generated Sun Apr 22 15:18:05 2007, © 2004-2007 Will Mason |
|
|