What's wrong with this definition when using a pre-C++11 compiler?
std::vector<std::vector<int>> thematrix;
The correct syntax should be: std::vector[std::vector[int]] thematrix;
std::vector[std::vector[int]] thematrix;
An std::vector cannot contain more std::vector containers as its elements.
std::vector
There's nothing wrong with it.
>> is parsed as the shift-right operator, and thus results in a compile error.
>>