官术网_书友最值得收藏!

  • Mastering the C++17 STL
  • Arthur O'Dwyer
  • 87字
  • 2021-07-08 10:20:20

Iterators and Ranges

In the previous chapter, we implemented several generic algorithms that operated on containers, but in an inefficient manner. In this chapter, you'll learn:

  • How and why C++ generalizes the idea of pointers to create the iterator concept
  • The importance of ranges in C++, and the standard way to express a half-open range as a pair of iterators
  • How to write your own rock-solid, const-correct iterator types
  • How to write generic algorithms that operate on iterator pairs
  • The standard iterator hierarchy and its algorithmic importance
主站蜘蛛池模板: 宝兴县| 敦化市| 赣榆县| 巴林左旗| 孟连| 通许县| 惠东县| 和顺县| 德安县| 英山县| 墨竹工卡县| 罗定市| 基隆市| 紫云| 曲靖市| 东方市| 清原| 榕江县| 鹿泉市| 井研县| 琼海市| 黄骅市| 林芝县| 东乌珠穆沁旗| 广丰县| 城步| 佛冈县| 蒙自县| 七台河市| 游戏| 南昌县| 定安县| 喀什市| 彰化市| 孟村| 光泽县| 镇沅| 郴州市| 定陶县| 舒兰市| 沙田区|