...
In this compliant solution, the copy operations for A
no longer mutate the source operand, ensuring that the vector contains equivalent copies of obj
. Instead, A
has been given move operations that perform the mutation when it is safe to do so.
...