Skip to main content

Practice · 2 of 3

Forward Like make_unique

CHALLENGE
Difficulty: advanced+25 XP

Implement makeOwned that constructs T from perfectly forwarded arguments, and restore that forwards a single argument with the right collapse.

Back to lesson: Practice: Forwarding Mechanics