Comment by fooker
Maybe std::make_movable would have been a slightly better name, but it's so much simpler to write std::move.
Maybe std::make_movable would have been a slightly better name, but it's so much simpler to write std::move.
std::movable is a concept now!
But that misses too much of the semantics. It also implies ownership transfer, even if copied.
Split the difference with std::moveable().
Also signals it doesn't actually move, while remaining just as fast to type.