17-07-2018, 01:17 PM
We agree with your interpretation of 7-5-3, and we recognise the limted scope of the current rule
We are currently working on a new version of the standard, and the aim for this rule is that we move toward the requirements of MISRA C:2012 18.6 'The address of an object ... shall not be copied to another object that persists after the first object has ceased to exist'
We are currently working on a new version of the standard, and the aim for this rule is that we move toward the requirements of MISRA C:2012 18.6 'The address of an object ... shall not be copied to another object that persists after the first object has ceased to exist'
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group