ObjectiveLib  1.0.0
Classes
Insert Iterators
Iterators

Insert iterators are a special type of iterator that can insert elements into a container. More...

Collaboration diagram for Insert Iterators:

Classes

class  OLBackInsertIterator
 An iterator that can be used to insert items into a container. More...
class  OLFrontInsertIterator
 An iterator that can be used to insert items into a container. More...
class  OLInsertIterator
 An iterator that can be used to insert items 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.


ObjectiveLibGenerated Sat Feb 15 2014 07:45:34, © 2004-2007 Will Mason