http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58191
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c++ |libstdc++ --- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Daniel Krügler from comment #5) > (In reply to Paolo Carlini from comment #2) > > Francois, did we change anything in the library for 4.8.x? > > I think that Francois added more iterator concept checking and this one > looks correct. I think the change in behaviour is a consequence of http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53263#c11 Potentially we could disable the partitioning checks when input iterators are used (unless _GLIBCXX_DEBUG_PEDANTIC is defined) or explicitly check for input iterators and give a better diagnostic.