mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-24 07:41:09 +02:00
Prefer compile-time checking over run-time checking
This commit is contained in:
@@ -37,6 +37,7 @@ code.
|
||||
|
||||
- **Miscellaneous**
|
||||
- `++i` is preferred over `i++`.
|
||||
- `static_assert` is preferred over `assert` where possible. Generally; compile-time checking is preferred over run-time checking.
|
||||
|
||||
Block style example:
|
||||
```c++
|
||||
|
Reference in New Issue
Block a user