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

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Thu Apr 12 19:39:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list