- 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
推薦閱讀
- 數據庫原理及應用(Access版)第3版
- LabVIEW Graphical Programming Cookbook
- AWS Serverless架構:使用AWS從傳統部署方式向Serverless架構遷移
- 深入理解Django:框架內幕與實現原理
- Visual Basic程序設計教程
- NLTK基礎教程:用NLTK和Python庫構建機器學習應用
- 云原生Spring實戰
- Java面向對象程序開發及實戰
- Groovy for Domain:specific Languages(Second Edition)
- Learn Swift by Building Applications
- Functional Kotlin
- Mastering ServiceNow(Second Edition)
- PySide 6/PyQt 6快速開發與實戰
- HTML 5與CSS 3權威指南(第3版·上冊)
- Android開發三劍客:UML、模式與測試