Daily bit(e) of C++ | std::views::join_with
Daily bit(e) of C++ #152, The C++23 flattening view: std::views::join_with.
The C++23 std::views::join_with will, similar to std::views::join, flatten a range of ranges but will additionally insert the provided element in between every pair of sub-ranges.