This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/31556] find_if uses operator! instead of conversion to bool



------- Comment #2 from pcarlini at suse dot de  2007-04-12 20:26 -------
Thanks Chris. Apparently, we don't have *that* many ! on the return of the
predicates or other logicals, maybe ~10. The task of fixing all of them seems
manageable rather easily. Let's make sure I understand: it would be just matter
of explicitely converting to bool, like !bool(__pred(*__first)), right?


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pcarlini at suse dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31556


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]