Обложка канала

Библиотека C/C++ разработчика

14677 @cppproglib

Полезные материалы по всему, что может быть полезно плюсовику/сишнику.

Библиотека C/C++ разработчика

3 года назад
Открыть в
Examples of Projections from C++20 Ranges

C++20 Ranges algorithms have an excellent feature called “Projection”. In short, it’s a callable applied on each range element before further processing. In this article, I’ll show you a couple more examples of this handy feature. Intro   According to the C++20 Standard: [defns.projection]: projection: transformation that an algorithm applies before inspecting the values of elements

C++ Stories