Re: [PATCH] libstdc++: Replace use of __mindist in ranges::uninitialized_xxx algos [PR101587]

2025-04-04 Thread Hewill Kang
>> In r15-8980-gf4b6acfc36fb1f I introduced a new function object for >> finding the smaller of two distances. In bugzilla Hewill Kang pointed >> out that we still need to explicitly convert the result back to the >> right difference type, because the result might be

Re: [PATCH] libstdc++: Replace use of __mindist in ranges::uninitialized_xxx algos [PR101587]

2025-04-04 Thread Hewill Kang
t may be used to join_view or concat_view to resolve LWG 3666 <https://cplusplus.github.io/LWG/issue3666> or LWG 4073 <https://cplusplus.github.io/LWG/issue4073>. Jonathan Wakely 於 2025年4月4日 週五 下午6:27寫道: > On Fri, 4 Apr 2025 at 11:05, Hewill Kang wrote: > > > > Linstdc++

Re: [PATCH] libstdc++: Replace use of __mindist in ranges::uninitialized_xxx algos [PR101587]

2025-04-04 Thread Hewill Kang
; wrote: > >> > >> In r15-8980-gf4b6acfc36fb1f I introduced a new function object for > >> finding the smaller of two distances. In bugzilla Hewill Kang pointed > >> out that we still need to explicitly convert the result back to the > >> right difference typ

Re: [PATCH v2] libstdc++: Replace use of __mindist in ranges::uninitialized_xxx algos [PR101587]

2025-04-04 Thread Hewill Kang
* > testsuite/20_util/specialized_algorithms/uninitialized_move/constrained.cc: > Likewise. > > Reviewed-by: Tomasz Kaminski > Reviewed-by: Hewill Kang > > --- > > Here's a v2 patch with added tests. No change to the code in the > header, ju