#include <iostream>
using namespace std;
void Func(int&& i) {
++i;
}
int main() {
int num = 1234;
cout << "Before: " << num << endl;
Func(std::move(num));
cout << "After: " << num << endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdm9pZCBGdW5jKGludCYmIGkpIHsKICAgICsraTsKfQoKaW50IG1haW4oKSB7CiAgICBpbnQgbnVtID0gMTIzNDsKICAgIGNvdXQgPDwgIkJlZm9yZTogIiA8PCBudW0gPDwgZW5kbDsKICAgIEZ1bmMoc3RkOjptb3ZlKG51bSkpOwogICAgY291dCA8PCAiQWZ0ZXI6ICIgPDwgbnVtIDw8IGVuZGw7Cn0=