Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
9-3-3 and interfaces enforced via templates instead of virtual functions
#4
The rule as drafted was intended to just cover 'syntactic const', but we recognise that this has limitations.

In this case, you'll need to deviate, or artificially modify the function so that it cannot be made const.
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread
RE: 9-3-3 and interfaces enforced via templates instead of virtual functions - by misra cpp - 26-01-2022, 10:43 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)