Practice ยท 2 of 2
Rank and Capacity via Specialization
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).
Difficulty: advanced
Press Submit to check your solution.
Back to lesson: Practice: Specialization Workshop