room for improvement in implementation of "std::advance(InputIterator)": make it more resilient to bugs in user-level code: in particular, negative distances

Jonathan Wakely jwakely.gcc@gmail.com
Mon Dec 10 14:28:00 GMT 2012


On 10 December 2012 10:12, Paolo Carlini wrote:
> .. and don't see it clearly stated in the thread: this is *already*
> implemented in mainline, right? Or people want something different than a
> _GLIBCXX_DEBUG_ASSERT?

Oops, I forgot about http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53515



More information about the Libstdc++ mailing list