Create n-dimensional vector with given sizes
问题 So, what I want is to create multidimensional vector of given type where the first dimension will have size of the first argument of a function call, etc, for example if I do std::size_t n = 5; auto x = make_vector<int>(n + 1, n * 2, n * 3); x should be 6x10x15 3d array (consisting of zeroes, because I want to default construct right now) I have tried this: template <typename T> std::vector<T> make_vector(std::size_t size) { return std::vector<T>(size); } template <typename T, typename...