What does std::move move?
Show answer and explanation
std::move is a cast to an xvalue, not a transfer operation. A subsequent constructor or assignment may move resources, and the source remains valid but its value may be unspecified.
std::move is a cast to an xvalue, not a transfer operation. A subsequent constructor or assignment may move resources, and the source remains valid but its value may be unspecified.
Connect the conclusion directly to the type, lifetime, ownership, overload-resolution rule, or library contract present in the question. State implementation dependence or a violated precondition explicitly instead of merely guessing output.