Re: [PATCH] libstdc++: perfectly forward std::ranges::clamp arguments

2025-01-20 Thread Patrick Palka
ier thread about > >> 118160). Tested on x86-64 Linux. > >> > >> Thanks, > >> -- > >> Giuseppe D'Angelo > >> > > > >> Subject: [PATCH] libstdc++: perfectly forward std::ranges::clamp arguments > >> > >> As repo

Re: [PATCH] libstdc++: perfectly forward std::ranges::clamp arguments

2025-01-20 Thread Jonathan Wakely
>> Giuseppe D'Angelo >> > >> Subject: [PATCH] libstdc++: perfectly forward std::ranges::clamp arguments >> >> As reported in PR118185, std::ranges::clamp does not correctly forward >> the projected value to the comparator. Add the missing forward. > >

Re: [PATCH] libstdc++: perfectly forward std::ranges::clamp arguments

2025-01-20 Thread Patrick Palka
On Sun, 19 Jan 2025, Giuseppe D'Angelo wrote: > Hi, > > the attached patch fixes PR118185 (mentioned in the earlier thread about > 118160). Tested on x86-64 Linux. > > Thanks, > -- > Giuseppe D'Angelo > > Subject: [PATCH] libstdc++: perfectly forw

[PATCH] libstdc++: perfectly forward std::ranges::clamp arguments

2025-01-19 Thread Giuseppe D'Angelo
ct: [PATCH] libstdc++: perfectly forward std::ranges::clamp arguments As reported in PR118185, std::ranges::clamp does not correctly forward the projected value to the comparator. Add the missing forward. libstdc++-v3/ChangeLog: PR libstdc++/118185 PR libstdc++/100249 * include/bits/ran