Practice · 1 of 2
Write the Missing Deduction Guide
CHALLENGE
Difficulty: advanced+25 XP
Box's iterator-pair constructor deduces the iterator type by default — Box<int*> instead of Box<int>. Write the deduction guide that steers CTAD to the element type.
Press Submit to check your solution.
Back to lesson: Practice: CTAD in Anger