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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Jonathan Wakely
<[email protected]>:

https://gcc.gnu.org/g:700cbeeaf165db9f0350786191541cd3c9b15318

commit r15-11610-g700cbeeaf165db9f0350786191541cd3c9b15318
Author: Jonathan Wakely <[email protected]>
Date:   Thu Oct 1 21:20:36 2026 +0100

    libstdc++: Add enable_borrowed_range<to_input_view<V>> [PR125785]

    Add the missing partial specialization, and test for it.

    Also add tests for the as_const_view and as_rvalue_view partial
    specializations that weren't being tested.

    libstdc++-v3/ChangeLog:

            PR libstdc++/125785
            * include/std/ranges (enable_borrowed_range<to_input_view<T>>):
            Define partial specialization.
            * testsuite/std/ranges/adaptors/to_input/1.cc: Test
            specialization for to_input_view.
            * testsuite/std/ranges/adaptors/as_const/1.cc: Test
            specialization for as_const_view.
            * testsuite/std/ranges/adaptors/as_rvalue/1.cc: Test
            specialization for as_rvalue_view.

    Reviewed-by: Tomasz KamiÅski <[email protected]>
    (cherry picked from commit b8a469b62d85dc9cf8b995e0eece8eaa7f9ba7aa)

Reply via email to