Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
M9-3-1 and std::span-like classes
#2
The code doesn't violate the rule, as the value returned by the function does not allow any class member to be modified (see related question "Question about an example from rule 9-3-1")
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread
M9-3-1 and std::span-like classes - by cgpzs - 18-02-2022, 09:42 AM
RE: M9-3-1 and std::span-like classes - by misra cpp - 23-02-2022, 10:36 AM
RE: M9-3-1 and std::span-like classes - by cgpzs - 23-02-2022, 12:00 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)