This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/62169] map iterators under _GLIBCXX_DEBUG diverge
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 24 Aug 2014 10:35:26 +0000
- Subject: [Bug libstdc++/62169] map iterators under _GLIBCXX_DEBUG diverge
- Auto-submitted: auto-generated
- References: <bug-62169-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62169
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It's not an option IMHO. See http://wwwâ.stroustrup.com/SCARY.pdf for the
benefits of the current design. Those benefits outweigh the advantage of having
non-portable code diagnosed. Debug iterators can't be SCARY because they have a
pointer back to their patent container so have to depend on the exact type.