]> gcc.gnu.org Git - gcc.git/commit
libstdc++: tuple_element_t is also wrong for const subrange (LWG 3398)
authorJonathan Wakely <jwakely@redhat.com>
Wed, 19 Feb 2020 11:37:54 +0000 (11:37 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 19 Feb 2020 12:46:57 +0000 (12:46 +0000)
commitfa89adaa979093936d8f148ef5496db05ad308e5
treec1cd0aa1bedd6c17445080b02fe5c2ab7487d846
parenta45fb21a10f486f6596b648e2c64bd1c7d808f18
libstdc++: tuple_element_t is also wrong for const subrange (LWG 3398)

* include/std/ranges (tuple_element<0, const subrange<I, S, K>>)
(tuple_element<1, const subrange<I, S, K>>): Add partial
specializations (LWG 3398).
* testsuite/std/ranges/subrange/tuple_like.cc: New test.
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/ranges
libstdc++-v3/testsuite/std/ranges/subrange/tuple_like.cc [new file with mode: 0644]
This page took 0.059141 seconds and 6 git commands to generate.