]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Add workaround to std::ranges::subrange [PR111948]
authorJonathan Wakely <jwakely@redhat.com>
Tue, 24 Oct 2023 19:15:12 +0000 (20:15 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 5 Dec 2023 23:34:12 +0000 (23:34 +0000)
commit08448dc146b6dd32383d64ab491a594d41f62aaa
tree3103f5379ac5089da94739c76f84784b65a5576e
parent45630fbcf7875b5e78c74ff4fb35cc09cd2e4e9b
libstdc++: Add workaround to std::ranges::subrange [PR111948]

libstdc++-v3/ChangeLog:

PR libstdc++/111948
* include/bits/ranges_util.h (subrange): Add constructor to
_Size to aoid setting member in constructor.
* testsuite/std/ranges/subrange/111948.cc: New test.
libstdc++-v3/include/bits/ranges_util.h
libstdc++-v3/testsuite/std/ranges/subrange/111948.cc [new file with mode: 0644]