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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Patrick Palka <ppa...@gcc.gnu.org>:

https://gcc.gnu.org/g:14d8a5ae472ca5743016f37da2dd4770d83dea21

commit r12-2676-g14d8a5ae472ca5743016f37da2dd4770d83dea21
Author: Patrick Palka <ppa...@redhat.com>
Date:   Mon Aug 2 15:30:15 2021 -0400

    libstdc++: Add missing std::move to ranges::copy/move/reverse_copy
[PR101599]

    In passing, this also renames the template parameter _O2 to _Out2 in
    ranges::partition_copy and uglifies two of its function parameters,
    out_true and out_false.

            PR libstdc++/101599

    libstdc++-v3/ChangeLog:

            * include/bits/ranges_algo.h (__reverse_copy_fn::operator()):
            Add missing std::move in return statement.
            (__partition_copy_fn::operator()): Rename templtae parameter
            _O2 to _Out2.  Uglify function parameters out_true and out_false.
            * include/bits/ranges_algobase.h (__copy_or_move): Add missing
            std::move to recursive call that unwraps a __normal_iterator
            output iterator.
            * testsuite/25_algorithms/copy/constrained.cc (test06): New test.
            * testsuite/25_algorithms/move/constrained.cc (test05): New test.

Reply via email to