Wrap before ? and : in ternary

EditorConfig key: cpp-wrap-before-ternary-opsigns

Wrap before ? and : in ternary

cpp-wrap-before-ternary-opsigns

Default value:

true

Possible values:

  • true
  • false

Examples

true
int r = cond
  ? a
  : b;
false
int r = cond ?
  a :
  b;