05-10-2015, 01:23 PM
'a' is used – see the definition of “used†in the Glossary of MISRA C++:2008:
In this case, 'a' is used as an operand in an expression.
Quote:An object is used if it is:
- The subject of a cast;
- Explicitly initialized at declaration time;
- An operand in an expression;
- Referenced.
In this case, 'a' is used as an operand in an expression.
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group