aboutsummaryrefslogtreecommitdiff
path: root/docs/CODE_GUIDELINES.md
diff options
context:
space:
mode:
authorNick Renieris <makren67@gmail.com>2018-09-29 10:12:30 +0300
committerNick Renieris <makren67@gmail.com>2018-09-29 10:12:30 +0300
commitc736b6a7a4485d6a1a86d7c6518569c60f7fc096 (patch)
tree851ff56fbc2be256f5febdacc7216560eb915953 /docs/CODE_GUIDELINES.md
parent58fb6ae0d054d823e59e31be8555837e5655b1d8 (diff)
[docs] Add initializer list whitespace convention in Code Guidelines
Diffstat (limited to 'docs/CODE_GUIDELINES.md')
-rw-r--r--docs/CODE_GUIDELINES.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/CODE_GUIDELINES.md b/docs/CODE_GUIDELINES.md
index b81d8c43b6..5fd90e56e0 100644
--- a/docs/CODE_GUIDELINES.md
+++ b/docs/CODE_GUIDELINES.md
@@ -173,6 +173,10 @@ for (int i = 0; i < x; ++i)
doSomething(e);
doSomething(f);
```
+Initializer lists have spaces between elements, but no surrounding spaces.
+```cpp
+const char *aStringArray[] = {"one", "two", "three"};
+```
**[back to top](#table-of-contents)**