Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

With GCC/clang you can write an ASSERT/ASSUME macro that does this. Basically: if (!cond) __builtin_unreachable();


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

Search: