lbonn d1b5607dc1
[libc++][ranges] Fix ranges::join_view segmented iterator trait (#158347)
The outer iterator needs to move to the next segment when calling
__compose.

Without this change, `find_segment_if` would never reach the end of the
join_view which caused erroneous result when calling `ranges::find` on a
join_view of bidirectional ranges.

Other specializations using the segmented iterator trait were likely to
be affected as well.

Fixes #158279
Fixes #93180
2025-09-27 22:49:54 +08:00
..