⚡ Build the skills to land top-paying quant jobs. Offer ends in 23d 14h 02m 46s23 days 14 hours 2 minutes 46 seconds.
⚡ Build the skills to land top-paying quant jobs. Offer ends in 23d 14h 02m 46s23 days 14 hours 2 minutes 46 seconds.

Sign in to watch this lesson
Value Categories, Move and Perfect Forwarding · 4:15
std::move sounds like it moves, but it is only a cast that relabels an object as an rvalue; the stealing happens later, if a move constructor or move assignment acts on that label. We check that it compiles to no instructions at all, see why a named rvalue-reference parameter is still an lvalue, watch a const object silently get copied instead of moved, and finish with the Annotation trap and the rules for moved-from objects.