* doc/xml/manual/status_cxx2020.xml: Update P0608R3, P0777R1, and P1165R1 entries. * doc/html/*: Regenerate. * include/std/tuple (make_from_tuple): Use remove_reference_t instead of decay_t (P0777R1).
Tested powerpc64le-linux, committed to trunk.
commit 867e57fbf824520973453cfa9e08c3a9ee3a5df8 Author: Jonathan Wakely <jwak...@redhat.com> Date: Fri May 17 00:29:22 2019 +0100 Add missing piece of P0777R1 and update C++20 status docs * doc/xml/manual/status_cxx2020.xml: Update P0608R3, P0777R1, and P1165R1 entries. * doc/html/*: Regenerate. * include/std/tuple (make_from_tuple): Use remove_reference_t instead of decay_t (P0777R1). diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2020.xml b/libstdc++-v3/doc/xml/manual/status_cxx2020.xml index 5cdd2227ae0..c7a543f85d9 100644 --- a/libstdc++-v3/doc/xml/manual/status_cxx2020.xml +++ b/libstdc++-v3/doc/xml/manual/status_cxx2020.xml @@ -227,14 +227,13 @@ Feature-testing recommendations for C++</link>. </row> <row> - <?dbhtml bgcolor="#C8B0B0" ?> <entry> Treating Unnecessary <code>decay</code> </entry> <entry> <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0777r1.pdf"> P0777R1 </link> </entry> - <entry align="center"> </entry> + <entry align="center"> 9.1 </entry> <entry /> </row> @@ -702,14 +701,13 @@ Feature-testing recommendations for C++</link>. </row> <row> - <?dbhtml bgcolor="#C8B0B0" ?> <entry> A sane <code>variant</code> converting constructor </entry> <entry> <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0608r3.html"> P0608R3 </link> </entry> - <entry align="center"> </entry> + <entry align="center"> 10.1 </entry> <entry /> </row> @@ -863,14 +861,13 @@ Feature-testing recommendations for C++</link>. </row> <row> - <?dbhtml bgcolor="#C8B0B0" ?> <entry> Make stateful allocator propagation more consistent for <code>operator+(basic_string)</code> </entry> <entry> <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1165r1.html"> P1165R1 </link> </entry> - <entry align="center"> </entry> + <entry align="center"> 10.1 </entry> <entry /> </row> diff --git a/libstdc++-v3/include/std/tuple b/libstdc++-v3/include/std/tuple index a28111749f0..b81157c097b 100644 --- a/libstdc++-v3/include/std/tuple +++ b/libstdc++-v3/include/std/tuple @@ -1756,7 +1756,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { return __make_from_tuple_impl<_Tp>( std::forward<_Tuple>(__t), - make_index_sequence<tuple_size_v<decay_t<_Tuple>>>{}); + make_index_sequence<tuple_size_v<remove_reference_t<_Tuple>>>{}); } #endif // C++17