diff options
Diffstat (limited to 'docs/CODE_GUIDELINES.md')
-rw-r--r-- | docs/CODE_GUIDELINES.md | 4 |
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)** |