- 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
推薦閱讀
- TypeScript入門與實戰
- TypeScript Blueprints
- Visual Basic程序設計(第3版):學習指導與練習
- Banana Pi Cookbook
- Visual C++開發入行真功夫
- PHP編程基礎與實踐教程
- Spring技術內幕:深入解析Spring架構與設計原理(第2版)
- Visual FoxPro 6.0程序設計
- Arduino可穿戴設備開發
- Django Design Patterns and Best Practices
- Visual Basic程序設計全程指南
- Photoshop智能手機APP界面設計
- Mastering SciPy
- ArcPy and ArcGIS(Second Edition)
- 軟技能2:軟件開發者職業生涯指南