Re: [PATCH] libstdc++: Fix use of inaccessible private member in split_view (PR93936)

2020-02-26 Thread Jonathan Wakely
On 26/02/20 08:37 -0500, Patrick Palka wrote: We are calling _OuterIter::__current from _InnerIter::operator==, but the former is private within this non-member friend. Fix this by calling _OuterIter::operator== instead, which does the right thing here. libstdc++-v3/ChangeLog: PR libst

[PATCH] libstdc++: Fix use of inaccessible private member in split_view (PR93936)

2020-02-26 Thread Patrick Palka
We are calling _OuterIter::__current from _InnerIter::operator==, but the former is private within this non-member friend. Fix this by calling _OuterIter::operator== instead, which does the right thing here. libstdc++-v3/ChangeLog: PR libstdc++/93936 * include/std/ranges (split_v