正在加载图片...
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
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有