Skip to content

Glossary: C++ Beyond the Basics

View

Also written: views, std::views, filter, transform, take, iota

A lazy, non-owning window onto a range, such as `std::views::filter`. It does no work until iterated and dangles if the container it refers to is destroyed.

Where the book teaches it

Related terms

PipeRangesLazystd::ranges::to