Skip to main content

Practice · 2 of 2

Rank and Capacity via Specialization

CHALLENGE
Difficulty: advanced+25 XP

Implement the Rank specializations (int -> 2, long -> 3), the rank_v variable template, and both Capacity partial specializations (std::vector<T> -> 0, std::array<T, N> -> N).

Back to lesson: Practice: Specialization Workshop