Do built-in types have move semantics?
And so, is the one shown by the example a well-defined behavior? Yes, the behaviour shown in the example is the only behaviour allowed by the standard. That is because std::move doesn’t move. The things that move are move constructors and move assignment operators. All std::move does is change an lvalue into an xvalue, so … Read more