The following code gives
error #66: expected a ";"
using Code Composer Studio Version: 5.5.0.00077
It seems OK to me. Visual Studio seemed OK with it.
#include <vector>
template <typename T>
class Foo
{
void func() const
{
std::vector<T>::const_iterator i; // error here
}
};
int main()
{
Foo<int> f;
return 0;
}
Am I missing a problem with the code or is this a limitation in the compiler?