http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53263
--- Comment #11 from François Dumont <fdumont at gcc dot gnu.org> 2012-05-11 19:21:38 UTC --- Author: fdumont Date: Fri May 11 19:21:31 2012 New Revision: 187414 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187414 Log: 2012-05-11 François Dumont <fdum...@gcc.gnu.org> PR libstdc++/53263 * include/debug/safe_iterator.h (__gnu_debug::__base): Move... * include/debug/functions.h: ... Here. Add debug function overloads to perform checks on normal iterators when possible. * include/debug/macros.h (__glibcxx_check_heap) (__glibcxx_check_heap_pred): Use __gnu_debug::__base on iterator range. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/debug/functions.h trunk/libstdc++-v3/include/debug/macros.h trunk/libstdc++-v3/include/debug/safe_iterator.h