Debug iterators operator->

François Dumont frs.dumont@gmail.com
Wed Nov 18 21:33:00 GMT 2015


Hi

    I always wanted to fix those operators implementation so that it
just use underlying iterator -> operator like for the other operators.
And I also notice the @todo on it today so maybe it is still time to fix
those.

    * include/debug/safe_iterator.h
    (_Safe_iterator<>::operator->()): Implement using underlying iterator
    same operator.
    * include/debug/safe_local_iterator.h
    (_Safe_local_iterator<>::operator->()): Likewise.


Tested under Linux x86_64 debug mode of course.

François

-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug_ite.patch
Type: text/x-patch
Size: 1624 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20151118/853a687d/attachment.bin>


More information about the Libstdc++ mailing list