File tree 1 file changed +3
-4
lines changed 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -407,9 +407,8 @@ struct join_with_view<_View, _Pattern>::__sentinel {
407
407
_LIBCPP_HIDE_FROM_ABI constexpr explicit __sentinel (_Parent& __parent) : __end_(ranges::end(__parent.__base_)) {}
408
408
409
409
template <bool _OtherConst>
410
- requires sentinel_for<sentinel_t <_Base>, iterator_t <__maybe_const<_OtherConst, _View>>>
411
- [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr bool __equal_to (const __iterator<_OtherConst>& __x) const {
412
- return __x.__get_outer () == __end_;
410
+ [[nodiscard]] _LIBCPP_HIDE_FROM_ABI static constexpr auto & __get_outer_of (const __iterator<_OtherConst>& __x) {
411
+ return __x.__get_outer ();
413
412
}
414
413
415
414
public:
@@ -423,7 +422,7 @@ struct join_with_view<_View, _Pattern>::__sentinel {
423
422
requires sentinel_for<sentinel_t <_Base>, iterator_t <__maybe_const<_OtherConst, _View>>>
424
423
[[nodiscard]] _LIBCPP_HIDE_FROM_ABI friend constexpr bool
425
424
operator ==(const __iterator<_OtherConst>& __x, const __sentinel& __y) {
426
- return __y. __equal_to (__x);
425
+ return __get_outer_of (__x) == __y. __end_ ;
427
426
}
428
427
};
429
428
You can’t perform that action at this time.
0 commit comments