This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/31556] find_if uses operator! instead of conversion to bool
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Apr 2007 19:39:42 -0000
- Subject: [Bug libstdc++/31556] find_if uses operator! instead of conversion to bool
- References: <bug-31556-12972@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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