Skip to content

Glossary: C++ Beyond the Basics

std::ranges::to

Also written: ranges::to

A C++23 function that collects a view into a real container, such as a `std::vector` that owns its values.

Where the book teaches it

Related terms

ViewPipe