std::string s = "y";
s = "x" + std::move(s) + "x";
Send(std::move(s));
Microsoft STL implementation checks for this, but is it mandated by the standard?
It looks more clean than insert + append or two variables approach.
Note: I know I can do Send(std::move("x" + std::move(s) + "x")), but real code is not so simple.