Skip to main content

Practice ยท 2 of 3

The Named-Rvalue Trap

CHALLENGE
Difficulty: advanced+25 XP

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.

Back to lesson: Practice: Predict the Category