News for hackers. Stuff that matters.
Re:Why C++ is vastly superior to C by anonymous246 on Saturday May 14, 2011 @04:55PM (#2548525)
Yes, several people have already piled on. But if the compiler didn't say "Equal", then I would be claim it's confusing/inconsistent.

Are you saying that the funtion YOU wrote to convert C/D to a bool shouldn't be invoked when YOU are using C/D as booleans?

Re:Why C++ is vastly superior to C by Dylan16807 on Sunday May 15, 2011 @11:10AM (#2550057)
It's perfectly logical to use those functions when comparing them as booleans.

But it's confusing that they're being used as booleans at all. They're converted because it will let the types match even though the conversion doesn't make much sense.