SonoPer restituire std :: move (x) o no?
std::vector<double> foo()
{
std::vector<double> t;
...
return t;
}
e
std::vector<double> foo()
{
std::vector<double> t;
...
return std::move (t);
}
equivalente?
Più precisamente, è return x
sempre equivalente a return std::move (x)
?