home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_12 / 758.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-13  |  834KB  |  2550x3300
Labels: book | crt screen | reckoner
OCR: 758 Chapter Discovering C++ involves how the position in the container that is referenced by the iterator can be changed All the iterators can move forward in container by invoking the over- loaded operator Bi-directional iterators can also move backward in container by invoking the overl loaded operator In addition to using + and random access iterator can change its posi- tion within a container by invoking the overloaded operators and The left- -hand operand of all these operators 16 : random access iterator, and the right- hand operand an integer. For example, terl and are random access iterators associated with container, then changes the position of rIterl within the container byn positions in the forward direction rIter2 changes the position of rIter2 within the container by positio ...