Skip to content

Glossary: C++ Beyond the Basics

Projection

Also written: projections

The member or function a ranges algorithm compares by, such as `&Item::cents` in `std::ranges::sort(items, {}, &Item::cents)`.

Where the book teaches it

Related terms

RangesComparator