Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int x = 1;
- int r1 = static_cast<int&>(x);
- int r2 = static_cast<int&&>(x)
- int x = 1;
- int y = 2;
- std::swap(x, y); // uses int temp = std::move(x);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement