In C++11, this is now valid syntax:
vector<vector<float>> MyMatrix;
whereas previously, it had to be written like this (notice the space):
vector<vector<float> > MyMatrix;
My question is what is the fix that the standard uses to allow the first version?
Could it be as simply as making >
a token instead of >>
? If that's not it, what does not work with this approach?
I consider that forms like myTemplate< x>>3 >
are a non-problem, since you can disambiguate them by doing myTemplate<(x>>3)>
.