Skip to main content

Practice ยท 2 of 3

The Named-Rvalue Trap

A forwarding function receives Tracked&& payload. Return it onward *as an rvalue* so exactly one move happens and no copy โ€” the counters observe what you really did.

Difficulty: advanced

Back to lesson: Practice: Predict the Category