[Bug libstdc++/58191] Can't use boost transform_iterator with _GLIBCXX_DEBUG

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 19 10:05:00 GMT 2013


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.


More information about the Gcc-bugs mailing list