27-10-2023, 03:46 PM
The intended reading of the rule is ‘if a class has a user-declared constructor, then ….’. As a POD struct cannot have a user-declared constructor (that would stop it being POD), the rule doesn’t apply.
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group