[Bug libstdc++/51823] [DR 198] reverse iterator returns uninitialized values

dave at boostpro dot com gcc-bugzilla@gcc.gnu.org
Tue Oct 30 23:49:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51823

Dave Abrahams <dave at boostpro dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dave at boostpro dot com

--- Comment #13 from Dave Abrahams <dave at boostpro dot com> 2012-10-30 23:48:36 UTC ---
I think this bug is invalid, because the iterator being wrapped doesn't model
ForwardIterator due to I found 24.2.5 [forward.iterators]/6, where it says:

  If a and b are both dereferenceable, then a == b if and only if *a and
  *b are bound to the same object.



More information about the Gcc-bugs mailing list