I know that when we are using template inside another template, we should write it like this:
vector
and if we wr
It won't ever be ambiguous. This is proven by the fact that in C++0x you don't have to write a space between closing template >s any more.
The thing is that the compilers would prefer to tokenize the input as context-independently as possible. Since C++ is not a context independent language anyway, adding just this one special case isn't going to make things particularly harder.