https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111138

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tomasz Kaminski <tkami...@gcc.gnu.org>:

https://gcc.gnu.org/g:5abe571e0276fafcc6eed27c27abb28943e67c6f

commit r15-8057-g5abe571e0276fafcc6eed27c27abb28943e67c6f
Author: Tomasz KamiÅski <tkami...@redhat.com>
Date:   Fri Mar 7 11:54:38 2025 +0100

    libstdc++: Fix views::zip_transform constraints for empty range pack
[PR111138]

    Add missing move_constructible && regular_invocable constrains on functor
type,
    and is_object on functor result type for invocations of
views::zip_transform
    without range arguments.

            PR libstdc++/111138

    libstdc++-v3/ChangeLog:

            * include/std/ranges (_ZipTransform::operator()):
            Create separate overload for calls with empty range pack,
            and add move_constructible, regular_invocable and
            is_object_v<invoke_result_t<...>>> constraints.
            * testsuite/std/ranges/zip_transform/1.cc: New tests

    Reviewed-by: Patrick Palka <ppa...@redhat.com>
            Jonathan Wakely <jwak...@redhat.com>
    Signed-off-by: Tomasz KamiÅski <tkami...@redhat.com>

Reply via email to