Versions Compared

Key

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

...

Static assertion is a new facility in the C standard [ISO/IEC 9899:2011] and the C++ 0X draft standard [Becker 2008]. It takes the form

...

C++ Secure Coding Standard: DCL03-CPP. Use a static assertion to test the value of a constant expression

ISO/IEC 9899:2011 Section  Section 6.10.1, "Conditional inclusion," and Section 6.10.3.3, "The ## operator," and Section 7.2.1, "Program diagnostics"

...