3 ms·
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 f
by anonymous246 15y ago
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?
- Dylan16807 15y agoIt'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.