Of the two versions of function calls below, is the one with std::move still preferred?
void myFunc(const std::string& myStr){
//
}
std::string MyStr = "my string";
//For these 2 versions, should I still prefer std::move here to save a value copy, even when the function itself takes in a reference?
myFunc(std::move(MyStr));
myFunc(MyStr);