Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Misra C++ 2023 14.1.1: clarify inherited members
#2
We agree with your interpretation: final is compliant and final2 is non-compliant.

There may be an issue with the wording of the rule. In final, it can be argued that bm is not a private member (of final), but is inaccessible.
We will look to see whether we should change the requirement to
    'all members should be public or private/inaccessible'
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread
RE: Misra C++ 2023 14.1.1: clarify inherited members - by misra cpp - 14-11-2025, 01:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)