Hacker News new | past | comments | ask | show | jobs | submit login

Plus, assert() is commonly used for runtime checks, not static analysis.



You can use static_assert but compilers observe assert already. assume is another commonly used invariant.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: