// MT3.Q5.cpp - Move assignment #include #include #include "../Utilities/Utilities.h" std::string doMove() { std::string temp = "this is a moved test string"; return temp; } int main() { title("MT3.Q5 - Demonstrating string move"); std::string movedStr; movedStr = doMove(); std::string anotherMove; anotherMove = movedStr + " extended by a second move"; std::cout << "\n " << anotherMove << "\n\n"; }