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)`.
Glossary: C++ Beyond the Basics
Also written: projections
The member or function a ranges algorithm compares by, such as `&Item::cents` in `std::ranges::sort(items, {}, &Item::cents)`.