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

--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Jonathan Wakely
<r...@gcc.gnu.org>:

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

commit r13-9127-ga71a9d25db19dddcb07972af3b568708b6dcbca1
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Mon Sep 2 11:29:13 2024 +0100

    libstdc++: Specialize std::disable_sized_sentinel_for for
std::move_iterator [PR116549]

    LWG 3736 added a partial specialization of this variable template for
    two std::move_iterator types. This is needed for the case where the
    types satisfy std::sentinel_for and are subtractable, but do not model
    the semantics requirements of std::sized_sentinel_for.

    libstdc++-v3/ChangeLog:

            PR libstdc++/116549
            * include/bits/stl_iterator.h (disable_sized_sentinel_for):
            Define specialization for two move_iterator types, as per LWG
            3736.
            * testsuite/24_iterators/move_iterator/lwg3736.cc: New test.

    (cherry picked from commit 819deae0a5bee079a7d5582fafaa098c26144ae8)
  • [Bug libstdc++/116549] std::dis... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to