4 ms·
Plus, assert() is commonly used for runtime checks, not static analysis.
by nimmer 6y ago
Plus, assert() is commonly used for runtime checks, not static analysis.
- rurban 6y agoYou can use static_assert but compilers observe assert already. assume is another commonly used invariant.