Align ternary operator
EditorConfig key: cpp-align-ternary
Align ternary operator
cpp-align-ternary
Alignment strategy for multi-line ternary expressions.
Default value:
unset
Possible values:
unset
align_all
align_not_nested
none
Examples
unset
align_all
int r = cond ? a : b;
align_not_nested
int r = cond ? a : b;
none
int r = cond ? a : b;