What does std::move move?
Show answer and explanation
std::move moves nothing by itself; it casts its argument to an xvalue so overload resolution may select a move operation. The selected operation determines what is transferred and the source's resulting state. Unless otherwise specified, moved-from standard-library objects are valid but have an unspecified state; user-defined types follow their own move-operation contract.
std::move moves nothing by itself; it casts its argument to an xvalue so overload resolution may select a move operation. The selected operation determines what is transferred and the source's resulting state. Unless otherwise specified, moved-from standard-library objects are valid but have an unspecified state; user-defined types follow their own move-operation contract.
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.