Versions Compared

Key

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

...

This noncompliant code example uses a C-style variadic function to add a series of integers together until the value 0 is found. Calling this function without passing the value 0 as an argument (after the first two arguments) results in undefined behavior. FurtherFurthermore, passing any type other than an int also results in undefined behavior.

...