Versions Compared

Key

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

...

which is not the desired behavior. This example also violates PRE00-A. Prefer inline functions to macros.

Compliant Solution

With its replacement list parenthesized, the CUBE() macro expands correctly for this type of invocation.

...