I have been reading all around about be aware >>
as ending of nested template and >>
as shift operator...
Now I have tried it in my MSVS2010 and no problem occured.
std::map<int, std::pair<int, int>> m;
This code works exactly what I want (map of pairs) but I supposed to get some error about >>
Compiler is smarter these days?
See Question&Answers more detail:os