|
|
|
|
|
by Windeycastle
174 days ago
|
|
The way I reason about it is that the contracts are more soft conditions that you expect to not really reach. If something always has to be true, even on not-safe mode, you use "actual" code inside the function/macro to check that condition and fail in the desired way. |
|
What's the difference from an assert then?