I have been reading all around about be aware >>
as ending of nested template and >>
as shift operator...
Now I have tried it i
This code works exactly what I want (map of pairs) but I supposed to get some error about >>
C++0x has fixed this. So if you're not getting any error with MSVS2010, then its no wonder, as MSVS2010 has implemented some of C++0x features.
Also, even with C++03, many compilers handle such cases, though not required by the Standard(2003).