mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
This implements P1789R3 Library Support for Expansion Statements. https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2025/p1789r3.pdf libstdc++-v3/ChangeLog: * include/bits/utility.h (std::tuple_size, std::tuple_element): Add partial specializations for integer_sequence. (std::get(integer_sequence<_Tp, _Idx...>)): Define. * include/bits/version.def (integer_sequence): Bump to 202511L. * include/bits/version.h: Regenerate. * testsuite/20_util/integer_sequence/tuple_access.cc: New test. * testsuite/20_util/integer_sequence/tuple_access_neg.cc: New test. * testsuite/experimental/feat-cxx14.cc: Updated check for __cpp_lib_integer_sequence value. Reviewed-by: Jonathan Wakely <jwakely@redhat.com> Co-authored-by: Ivan Lazaric <ivan.lazaric1@gmail.com> Signed-off-by: Matthias Wippich <mfwippich@gmail.com>
file: libstdc++-v3/README New users may wish to point their web browsers to the file index.html in the 'doc/html' subdirectory. It contains brief building instructions and notes on how to configure the library in interesting ways.