3 ms·
> Neither Go nor C has static assertions C11 has: _Static_assert(const_expr, fail_string)
by OJFord 10y ago
> Neither Go nor C has static assertions
C11 has:
_Static_assert(const_expr, fail_string)
- takeda 10y agoHa, looks like my C knowledge is a bit outdated. I haven't really used C after I graduated and I remember my professor showing us how to implement static assertion :)