Iterators(cont.) Linear Range a In Generic Programming, containers are regarded linear ranges and manipulated via iterators a The iterator pair [first, last), is used frequently to epresent linear range Benefits The number of elements in [first, last) is last-first Lp, p)is eligible to represent a null rangeIterators (cont.) ◼ Linear Range ◼ In Generic Programming, containers are regarded linear ranges and manipulated via iterators ◼ The iterator pair [first, last) , is used frequently to represent linear range ◼ Benefits ◼ The number of elements in [first, last) is last – first ◼ [p, p) is eligible to represent a null range