... | ... | @@ -92,6 +92,11 @@ Many of the rules of the [FreeBS kernel style](https://www.freebsd.org/cgi/man.c |
|
|
* When defining or using types based on templates never place the opening ant closing pointy brackets in such manner that they could be interpreted as `<<` or `>>`.
|
|
|
* `QMap<int, QPair<int, int> >` (**not** `QMap<int, QPair<int, int>>`)
|
|
|
|
|
|
* null pointers
|
|
|
* Don't use `0` to initialise null pointers.
|
|
|
* Don't use `0` to compare pointers to null value.
|
|
|
* Don't use implicit conversion to `bool` when checking for null pointers (i.e. don't use `if (ptr) ...` nor `if (!ptr) ...`).
|
|
|
|
|
|
## Doxygen
|
|
|
|
|
|
* The style is a mix of the Qt and Java style.
|
... | ... | |