Skip to content

Commit d344dd9

Browse files
author
Lukasz A.J. Wrona
committed
Update coding standard
1 parent 0f1482c commit d344dd9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CODING_STANDARD.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ Formatting is enforced using clang-format. For more information about this, see
1919
- Nested function calls do not need to be broken up into separate lines
2020
even if the outer function call does.
2121
- If a method is bigger than 50 lines, break it into parts.
22-
- Put matching `{ }` into the same column.
22+
- Put matching `{ }` into the same column, except for lambdas, where you should
23+
place `{` directly after the closing `)`. This rule also doesn't apply to
24+
initializer lists.
2325
- Spaces around binary operators (`=`, `+`, `==` ...)
2426
- Space after comma (parameter lists, argument lists, ...)
2527
- Space after colon inside `for`

0 commit comments

Comments
 (0)