1. How do I partially specialize a template(the second template of the two below)?
2. Is there a better way to do this?
T = type, D = dimensions
Code:#include <vector>
template<class T, size_t D>
class vector : public vector<T, D - 1> {};
template<class T, 1>
class vector : public std::vector<T> {};