Documentation: Remove redundancy in CodingStyle.md

This is a fairly small change; removed the statement "Pointer and
reference types in C++ code" as it does not provide any additional
knowledge that contributors are or will be aware of after further
reading into the "Pointers and References" section. It seems
unnecessary and redundant given the sentence adjacent to it.
This commit is contained in:
kemzeb 2021-06-03 15:27:46 -07:00 committed by Linus Groh
parent 65d4ac1c14
commit b9980ffd07
Notes: sideshowbarker 2024-07-19 01:59:31 +09:00

View File

@ -261,8 +261,7 @@ for (auto it = children.begin(); it != children.end(); ++it)
### Pointers and References
[](#pointers-cpp) **Pointer and reference types in C++ code**
Both pointer types and reference types should be written with no space between the type name and the `*` or `&`.
[](#pointers-cpp) Both pointer types and reference types should be written with no space between the type name and the `*` or `&`.
[](#pointers-out-argument) An out argument of a function should be passed by reference except rare cases where it is optional in which case it should be passed by pointer.