Update 'C++GUIDE.md'
Correct indentation position
This commit is contained in:
parent
3f06f6f67a
commit
caa28c27c2
@ -82,6 +82,10 @@ namespace sample {
|
||||
|
||||
```
|
||||
|
||||
### Indentation
|
||||
|
||||
We indent with 2 spaces as it's considered more consistent when using different editors and operationg systems while provide enoug readability for the hierarchies.
|
||||
|
||||
### Usage of using-clause
|
||||
|
||||
Usage of using-clause (#using) it's discouraged, as it's considered a bad practice that may cause namespace poisoning.
|
||||
@ -133,10 +137,6 @@ namespace sample {
|
||||
|
||||
Ensure that your imports are used and remove any unused.
|
||||
|
||||
### Indentation
|
||||
|
||||
We indent with 2 spaces as it's considered more consistent when using different editors and operationg systems while provide enoug readability for the hierarchies.
|
||||
|
||||
### Multiplatform
|
||||
|
||||
CERC team is aiming to create platform independent open software, therefore the use of platform specific libraries is discouraged, if such thing can't be avoided, try to provide platform alternatives by using compiler directives.
|
||||
|
Loading…
Reference in New Issue
Block a user