- 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
推薦閱讀
- Go Web編程
- 數字媒體應用教程
- C語言程序設計習題解析與上機指導(第4版)
- Kinect for Windows SDK Programming Guide
- Visual FoxPro程序設計習題集及實驗指導(第四版)
- ServiceNow:Building Powerful Workflows
- Oracle GoldenGate 12c Implementer's Guide
- Building Serverless Architectures
- Bootstrap for Rails
- Python語言科研繪圖與學術圖表繪制從入門到精通
- Python Digital Forensics Cookbook
- Responsive Web Design with jQuery
- WCF全面解析
- Azure for Architects
- Python量子計算實踐:基于Qiskit和IBM Quantum Experience平臺