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 #5 from pcarlini at suse dot de  2007-04-12 20:39 -------
(In reply to comment #4)
> Thats my understanding yes.

Ok, thanks.

> It might possibly at the same time be worth fixing predicates appears in && and
> ||, which have to be changed into nested ifs I think.

Luckily, very, very few of those: in most of the cases, we have just one
expression not involving the predicate ANDed or ORed with the negation of the
predicate. Or the negated predicate alone.


-- 


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]