[Bug libstdc++/106803] views::adjacent_transform should not return views::empty<tuple<>> when N == 0
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 9 19:05:09 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106803
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Patrick Palka <ppalka@gcc.gnu.org>:
https://gcc.gnu.org/g:8298427f6b546cabb853edd45c009cd1967b9d38
commit r13-2569-g8298427f6b546cabb853edd45c009cd1967b9d38
Author: Patrick Palka <ppalka@redhat.com>
Date: Fri Sep 9 14:59:14 2022 -0400
libstdc++: Fix return type of empty zip_/adjacent_transform [PR106803]
PR libstdc++/106803
libstdc++-v3/ChangeLog:
* include/std/ranges (views::_ZipTransform::operator()): Correct
return type in the empty case.
(views::_AdjacentTransform::operator()): Likewise.
More information about the Gcc-bugs
mailing list