Ranges extend the iterator-pair model with a reusable abstraction that algorithms can accept directly. This chapter introduces range algorithms, lazy views and pipelines, generators, and the concepts that describe types, iterators, sentinels, and ranges.
Ranges
Ranges, views, generators, and the concepts behind modern algorithms