65.9K
CodeProject is changing. Read more.
Home

C++: Rvalue References

emptyStarIconemptyStarIconemptyStarIconemptyStarIconemptyStarIcon

0/5 (0 vote)

Jun 22, 2015

CPOL

20 min read

viewsIcon

9711

Rvalue references were introduced with C++11, and they are used to implement move semantics and perfect-forwarding. Both of these techniques are ways to eliminate copies of data parameters for efficiency. There is much confusion around this new feature that uses the && operator, because its meaning

C++: Rvalue References - CodeProject