[PATCH v3] libstdc++: Implement LWG4222 'expected' constructor from a single value missing a constraint
Yrong
yronglin777@gmail.com
Sat Sep 20 17:05:44 GMT 2025
Got it! Thanks!
Best Regards,
Yihan
Jonathan Wakely <jwakely.gcc@gmail.com> 于2025年9月5日周五 00:35写道:
> On Wed, 3 Sept 2025 at 19:31, Jonathan Wakely <jwakely.gcc@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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20250921/34e47040/attachment.htm>
More information about the Libstdc++
mailing list