11-10-2016, 09:52 AM
One of the differences between C and C++ is that all structs in C are PODs. The section you reference of the C++ standard only applies to POD structs. In general this operation is unspecified in C++. In the narrow case where the behaviour is well defined, it could be allowed by deviation.
A future version will remove the need for the deviation where this behaviour is well defined
A future version will remove the need for the deviation where this behaviour is well defined
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group