Skip to main content

Practice ยท 1 of 3

Guaranteed Elision, Proven by Counters

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.

Difficulty: advanced

Back to lesson: Practice: Forwarding Mechanics