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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Patrick Palka
<[email protected]>:

https://gcc.gnu.org/g:ccd150e0f45a8d7b622052b89b1d9b26d96d2476

commit r14-12705-gccd150e0f45a8d7b622052b89b1d9b26d96d2476
Author: Patrick Palka <[email protected]>
Date:   Tue Jul 1 13:43:09 2025 -0400

    libstdc++: Use ranges::iter_move in ranges::unique [PR120789]

            PR libstdc++/120789

    libstdc++-v3/ChangeLog:

            * include/bits/ranges_algo.h (__unique_fn::operator()): Use
            ranges::iter_move(iter) instead of std::move(*iter).
            * testsuite/25_algorithms/unique/120789.cc: New test.

    Reviewed-by: Tomasz KamiÅski <[email protected]>
    Reviewed-by: Jonathan Wakely <[email protected]>
    (cherry picked from commit 6f69a68998f601cdb86c65113eb1feddfa9da31a)
  • [Bug libstdc++/120789] ranges::... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to