...
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.
...
...
which is not the desired behavior. This example also violates PRE00-A. Prefer inline functions to macros.
With its replacement list parenthesized, the CUBE()
macro expands correctly for this type of invocation.
...