I saw a question about how to make an array of vectors in C++. The answer was that it's impossible, because C arrays are non-copyable and non-assignable, and vector< vector<T> > or vector< pair<T, T> > were offered as alternatives (the length of the underlying array was 2 in the question). The thread is now closed.
I would like to point out that there is in fact a more suitable solution. vector has unnecessary...