Re: [PATCH] Fix const constraint in std::stable_sort and std::inplace_merge

2024-10-03 Thread François Dumont
On 02/10/2024 19:07, Jonathan Wakely wrote: On Wed, 2 Oct 2024 at 17:39, Jonathan Wakely wrote: On Wed, 25 Sept 2024 at 18:22, François Dumont wrote: Hi Once https://gcc.gnu.org/pipermail/libstdc++/2024-September/059568.html will be accepted we will be able fix this long lasting issue that

Re: [PATCH] Fix const constraint in std::stable_sort and std::inplace_merge

2024-10-02 Thread Jonathan Wakely
On Wed, 2 Oct 2024 at 17:39, Jonathan Wakely wrote: > > On Wed, 25 Sept 2024 at 18:22, François Dumont wrote: > > > > Hi > > > > Once https://gcc.gnu.org/pipermail/libstdc++/2024-September/059568.html > > will be accepted we will be able fix this long lasting issue that > > std::stable_sort and s

Re: [PATCH] Fix const constraint in std::stable_sort and std::inplace_merge

2024-10-02 Thread Jonathan Wakely
On Wed, 25 Sept 2024 at 18:22, François Dumont wrote: > > Hi > > Once https://gcc.gnu.org/pipermail/libstdc++/2024-September/059568.html > will be accepted we will be able fix this long lasting issue that > std::stable_sort and std::inplace_merge are forcing the functor to take > const& parameters

[PATCH] Fix const constraint in std::stable_sort and std::inplace_merge

2024-09-25 Thread François Dumont
Hi Once https://gcc.gnu.org/pipermail/libstdc++/2024-September/059568.html will be accepted we will be able fix this long lasting issue that std::stable_sort and std::inplace_merge are forcing the functor to take const& parameters even when iterators used in range are not const ones. This pa