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

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

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

commit r11-9764-gf6bf63ff3684c28c3b2c4d3a67a42db738d6342d
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Tue Jan 18 15:34:24 2022 +0000

    libstdc++: Use __cpp_lib_concepts in std::reverse_iterator [PR104098]

    We should not assume that std::iter_value_t etc. are defined
    unconditionally for C++20 mode.

    libstdc++-v3/ChangeLog:

            PR libstdc++/104098
            * include/bits/stl_iterator.h (reverse_iterator): Check
            __cpp_lib_concepts instead of __cplusplus.

    (cherry picked from commit e13e95bd274148a825bc9527efac49e99080dd64)

Reply via email to