On Wed, 3 Sept 2025 at 19:31, Jonathan Wakely <jwakely....@gmail.com> wrote: > > On Wed, 3 Sept 2025 at 19:26, Jonathan Wakely wrote: > > > > On Wed, 3 Sept 2025 at 19:09, Jonathan Wakely wrote: > > > > > > On Tue, 19 Aug 2025 at 16:17, Patrick Palka wrote: > > > > > > > > LGTM! Perhaps we want to backport this, not sure how far back > > > > (std::expected was implemented in GCC 12). > > > > > > OK for trunk and 13/14/15 - thanks for the contribution > > > > It doesn't apply cleanly to gcc-14 unless I backport > > r15-2307-gdca6a9a940e46d for https://cplusplus.github.io/LWG/issue3836
And that can't be backported to gcc-13 because it depends on r14-3160-gca2676654736e6: "c++: recognize in-class var tmpl partial spec [PR71954]" > > first. I think that's probably OK to backport for std::expected, but > > what do we think about backporting the std::optional part of that too? > > The optional part was r15-2308-g75618d2fd72ccc