Possible Duplicate:
For nested templates, when did `>>` become standard C++ (instead of `> >`)?
Why did templates of templates (e.g. vector<vector<int> >) require a space between the closing angle brackets prior to C++0x?
I am simply trying to create a vector:
vector<Transform3D<double>> tempVector;
This is the compilation error i get:
/../main.cpp:34:26: error: a space is required between consecutive right angle brackets
(use '> >')
vector<Transform3D<double>> tempVector;
^~
> >
What does not make is sense is, why the problem is solved by changing the vector to as the error describes:
vector<Transform3D<double > > tempVector;
Why is vector<Transform3D<double>>
and vector<Transform3D<double > >
not identical?