diff options
| author | skal <pascal.massimino@gmail.com> | 2026-01-31 00:10:22 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-01-31 00:10:22 +0100 |
| commit | 4a8554fe08ce0491cf64514ad374fd118066ed1b (patch) | |
| tree | 9dac0ceabc46a3c933bb501422cccf829e576797 | |
| parent | eae9e03be4c9082187508a14a075b768db5f1aaa (diff) | |
more style rules
| -rw-r--r-- | CONTRIBUTING.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e946c8d..b4b04f2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -117,3 +117,21 @@ x++ Even if they are not strictly needed due to operator precedence rules, prefer adding extra ()'s around tests for clarity, with parcimony. + +### c++ cast + +don't use reinterpret_cast<>, static_cast<> or const_cast<>. + +### pointer declaration + +prefer ```const T* name``` to ```const T *name```. + +### 'auto' type + +Don't use 'auto' as type, unless for complex iterators or very complex +types. + +### don't use trailing spaces + +don't. + |
