An rvalue reference T && is a reference that binds only to rvalues. When a function is overloaded on const T & and T &&, a call with an lvalue picks the first and a call with an rvalue picks the second. std::move(a) does not move anything: it is a cast of the lvalue a to an xvalue, which tells the overload resolution that a may be emptied.
Computer Science · Glosarium