Possible Duplicate:
What does T&& mean in C++11?
The following code is NOT correct:
widget&& f() {
widget w;
...
return w;
}
Question> What does &&
mean? Can you give me a valid example that illustrates the usage of &&
?
Note: I have searched c++ return by reference reference
or c++ &&
without getting any useful information.