[Cs3] usage of rvalue reference

Mikhail Nesterenko mnestere at kent.edu
Wed Sep 18 15:42:38 EDT 2024


CS3 students,

There was a question about usages for rvalue reference. The primary
usages for rvalue reference is the move semantics, that we study; and
perfect forwarding, that we do not.

Here is a good discussion of rvalue reference usage.

https://stackoverflow.com/questions/5481539/what-does-t-double-ampersand-mean-in-c11/5481588#5481588

Thanks,
--
Mikhail


More information about the cs3 mailing list