While trying to declare a vector of vectors with an initial size Visual studio reports that the code below is a syntax error.
error C2059: syntax error : 'constant'
In fact I get the same error when trying to declare a vector of objects with an initial size.
Any help with where I am going wrong would be appreciated.
vector<vector<MyObject> > m_last_received_object(2);