Re: [PATCH] libstdc++: add default template parameters to algorithms

2024-08-02 Thread Jonathan Wakely
On Fri, 2 Aug 2024 at 13:17, Jonathan Wakely wrote: > > On Fri, 2 Aug 2024 at 11:45, Giuseppe D'Angelo wrote: > > > > Hello, > > > > The attached patch adds support for P2248R8 + P3217R0 (Enabling > > list-initialization for algorithms, C++26). The big question is whether > > this keeps the code r

Re: [PATCH] libstdc++: add default template parameters to algorithms

2024-08-02 Thread Jonathan Wakely
On Fri, 2 Aug 2024 at 11:45, Giuseppe D'Angelo wrote: > > Hello, > > The attached patch adds support for P2248R8 + P3217R0 (Enabling > list-initialization for algorithms, C++26). The big question is whether > this keeps the code readable enough without introducing too much > #ifdef-ery, so any feed

[PATCH] libstdc++: add default template parameters to algorithms

2024-08-02 Thread Giuseppe D'Angelo
From 9f1a84548ecea9859c1f8d70c533e4e5a0701870 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Fri, 2 Aug 2024 00:23:04 +0200 Subject: [PATCH] libstdc++: add default template parameters to algorithms This implements P2248R8 + P3217R0, both approved for C++26. The changes are mostly mecha