Wouldn't it work to just force the conversion from owner_[s] to bool with !!owner_[s]?
We could also improve the original code by explicitly making the lookup+comparison once.
Wouldn't it work to just force the conversion from `owner_[s]` to bool with `!!owner_[s]`?
We could also improve the original code by explicitly making the lookup+comparison once.
```c++
bool owner_is_odd = !!owner_[s] == odd;
if ((owner_is_odd && any) || (!owner_is_odd && all))
...
```