On Sunday, 12 November 2017 at 13:34:50 UTC, Dmitry Olshansky
wrote:
> if (a & (flag1 | flag2))
>
> to
>
> if ((a & (flag1 | flag2)) != 0)
>
> When the first is quite obvious.
Just change the typing of the if-conditional to:
if (boolean|integral) {…}