Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A8-4-5: are partial moves allowed?
#2
We have to agree that the Autosar rule is unclear on this subject.

We agree your example doesn't have any undesirable behaviour, but if the rule were to explicitly allow that, it would also have to say something about code that only moves a subset of the members, say 'name', but not 'p'
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread
A8-4-5: are partial moves allowed? - by cgpzs - 01-10-2024, 12:28 PM
RE: A8-4-5: are partial moves allowed? - by misra cpp - 22-10-2024, 02:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)