17-01-2018, 04:19 PM
Your example is compliant f2 takes a pointer to int, &a[0] is a pointer to int - there is no decaying array
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group