Why do we still call it std::move when it doesn't actually move?
Just went down a rabbit hole on value categories and honestly... the naming is such a trap for people learning modern C++.
std::move casts to an rvalue reference. That's it. The actual move happens later, if it happens at all - depends entirely on whether the receiving function has a move constructor or assignment operator. You're basically saying "I'm done with this, do what you want" but there's no guarantee anything gets moved.
I've seen so many bugs where juniors think std::move magically makes things faster or that the original object is invalidated. Nope. It's just permission. The object is still there, still valid (technically), just potentially in an unspecified state if something actually moved from it.
Would std::rvalue_cast have been clearer? Probably. But we're stuck with std::move and its misleading name. At least understanding value categories makes the whole picture click - lvalues, xvalues, prvalues... once you get it, you get it. But that initial learning curve is brutal because the terminology fights against intuition.
Honestly this confused me for ages too. I think it's because we mentally translate "move" as an action when it's really more like "moveable" - you're marking something as eligible for moving, not doing the move itself. Would've saved me hours if they'd called it std::mark_moveable or something equally clunky but clear.