Expand description
Macros that assert properties of code at compile time.
A static assertion is particularly appropriate when unsafe code relies on two types to have the same size, or on some type to have a particular size.
Macrosยง
- const_
assert - Macro that fails to compile if a given const expression is not true.