Monthly Archives: June 2023

Compile Time Assertions in C

There have always been reasons to want to cause a compiler to produce an error when an invariant violation is detected at compile time. For example, if you have a structure whose size is a power of 2 greater than … Continue reading

Posted in c programming | Tagged , | Leave a comment