This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]