(September 16, 2021 at 6:38 pm)Angrboda Wrote: Modern compilers impose no penalty for terniary operators in lvals. So long as it's implemented intelligently, it's just a matter of taste.
This.
Profile your code then worry about optimizations later. I for one appreciate the terseness of ternary operators.