[Bug libstdc++/106175] std::prev and next should check for equality with std::begin

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jul 3 20:46:32 GMT 2022


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to KL from comment #6)
> And this is not a normal situation for a language that aims to be safer.

GCC's debug mode for libstdc++ detects it. If you don't want to use that while
debugging your program, then you should raise this up to the standards
committee ...


More information about the Gcc-bugs mailing list