Fix safe iterator inconsistent assertion
François Dumont
frs.dumont@gmail.com
Thu Jun 21 05:36:00 GMT 2018
Working on iterator == operator I noticed that a comparison in
_Safe_iterator was inconsistent.
   * include/debug/debug.h
   (_Safe_iterator<>(const _Safe_iterator<_MutableIterator,>& __x)):
   Compare __x base iterator with a default initialized iterator of the
   same type.
Tested under linux x86_64.
François
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug.patch
Type: text/x-patch
Size: 1030 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20180621/7fd566e7/attachment.bin>
More information about the Libstdc++
mailing list