The C23 standard added the static_assert keyword to do assertion at compile time like the runtime assertions with `assert`.
https://en.cppreference.com/w/c/langu...
Social links:
Website: https://cacharle.xyz
Github: https://github.com/cacharle
Linkedin: / charles-cabergs
Watch video Advanced C 30: static_assert online without registration, duration hours minute second in high quality. This video was added by user Charles Cabergs 17 June 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,09 once and liked it 7 people.