When template data types are nested, for example a std::vector of std::vectors of int, its declaration ends with its nested template closer.
The nested template closer depends on the standard used:
- nested template closer in the C++98 standard
- nested template closer in the C++11 standard
nested template closer in the C++98 standard
The nested template closer must be '> >', instead of just '>>'.
nested template closer in the C++11 standard
The nested template closer can be '>>'.
Technical note: this code is compiled successfully using the G++ 4.4.5 compiler, which is supplied with the Qt Creator 2.0.0 IDE.