std::move doesn't actually dereference the data, so it doesn't matter whether or not the type is null.