Skip to main content

Practice · 1 of 3

Guaranteed Elision, Proven by Counters

CHALLENGE
Difficulty: advanced+25 XP

Implement makeTracked returning its result **by value**, and accumulateTracked building a named local and returning it (NRVO). The counters must show zero copies and zero moves in both paths.

Back to lesson: Practice: Forwarding Mechanics