| ▲ | 20k an hour ago | |
Of course? You simply undefine NDEBUG in your library Its trivially easy to guarantee that an assert always runs, and its well defined behaviour according to the spec. There's no reason not to if you want to use asserts in a way that guarantees that they always fire, which is a supported use case. Its common practice There's no equivalent for contracts | ||
| ▲ | 12 minutes ago | parent [-] | |
| [deleted] | ||