Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The static_assert() macro, a feature of the C standardStandard, accepts a constant expression and an error message. The expression is evaluated at compile time, and, if false, the compilation is terminated and the error message is output. See DCL03-C. Use a static assertion to test the value of a constant expression

...