Fix some _GLIBCXX_DEBUG pretty printer errors
François Dumont
frs.dumont@gmail.com
Mon Feb 5 06:49:00 GMT 2018
Hi
   Here is a patch to fix some pretty printer check errors when
running those tests with _GLIBCXX_DEBUG.
   I introduced a special rendered for the std::forward_list iterator
which is similar to the one used for the std::list and so used
inheritance, I hope it is not a problem for Python 2/3 compatibility.
   I prefer to just rely on normal iterator rendered when we detect
that iterator hasn't been initialized so that normal or debug modes give
the same result.
   Ok to commit ?
François
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug_pretty_printer.patch
Type: text/x-patch
Size: 5613 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20180205/60ee1a2a/attachment.bin>
More information about the Libstdc++
mailing list