If and hos would you simplify this #cpp code? The code duplication is bugging me...

@foonathan@fosstodon.org

If and hos would you simplify this #cpp code? The code duplication is bugging me.

```
if constexpr (foo<T>) {
obj.disableX();
} else if (bar(t)) {
obj.disableX();
} else {
obj.setX(t.x);
}
```

You need an `if constexpr` for the first one, because if `foo<T>` is true, `.x` doesn't exist. Therefore, you can't use `||`.