There is a nice use case for this in depsgraph code. Also I added some previously missing calls to std::move.