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

More accurately: C23 makes `static_assert` a keyword and remove `#define static_assert _Static_assert` in <assert.h>, so `#include <assert.h>` is no longer needed for `static_assert`. So the syntax was always supported since C11 but it's made more convenient to use.


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

Search: