std::move is only needed if the returned value from a function doesn't implement move semantics. But cudf::make_numeric_column returns a std::unique_ptr<> and std::unique_ptr, like everything in the standard library, already has move semantics.
Using std::move where it isn't necessary can prevent compiler optimizations.
std::move is only needed if the returned value from a function doesn't implement move semantics. But
cudf::make_numeric_column
returns astd::unique_ptr<>
andstd::unique_ptr
, like everything in the standard library, already has move semantics.Using std::move where it isn't necessary can prevent compiler optimizations.