On Tue, Nov 28, 2023 at 04:45:41PM +0000, Alex Coplan wrote: > > --- gcc/cp/cp-objcp-common.cc.jj 2023-11-27 17:34:25.000000000 +0100 > > +++ gcc/cp/cp-objcp-common.cc 2023-11-28 08:55:18.868419864 +0100 > > @@ -145,7 +145,7 @@ static constexpr cp_feature_info cp_feat > > { "cxx_contextual_conversions", { cxx14, cxx98 } }, > > { "cxx_decltype_auto", cxx14 }, > > { "cxx_aggregate_nsdmi", cxx14 }, > > - { "cxx_init_captures", cxx14 }, > > + { "cxx_init_captures", { cxx14, cxx11 } }, > > FWIW it looks like this is what I had in the original RFC here: > > https://gcc.gnu.org/pipermail/gcc-patches/2023-May/617878.html > > but Jason suggested we be more conservative about what we advertise as > extensions in his review here: > > https://gcc.gnu.org/pipermail/gcc-patches/2023-May/618232.html
Wasn't that suggestion mostly about C++98 though? Jason, shall I commit the patch as approved, or shall Alex tweak the testcase instead? Jakub