doc: Remove confusing assert linter

This commit is contained in:
MarcoFalke committed 2023-09-14 18:59:52 +02:00
1 parent f5c5ddafbc
commit fa6e6a3f03
2 files changed
+1 -17

No files matched your search

-6
View File
@@ -739,12 +739,6 @@ Common misconceptions are clarified in those sections:
- Passing (non-)fundamental types in the [C++ Core
Guideline](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rf-conventional).
- Assertions should not have side-effects.
- *Rationale*: Even though the source code is set to refuse to compile
with assertions disabled, having side-effects in assertions is unexpected and
makes the code harder to understand.
- If you use the `.h`, you must link the `.cpp`.
- *Rationale*: Include files define the interface for the code in implementation files. Including one but