Daily bit(e) of C++ | std::views::zip_transform
Daily bit(e) of C++ #144, The C++23 n-ary transform view: std::views::zip_transform.
The C++23 std::views::zip_transform is a view where the ith element results from applying the n-ary transformation invocable to the ith elements of the provided ranges.
The view is a lazy version of binary std::ranges::transform, generalized for any number of ranges.