Hi all,
Just having a semantics issue with STL. Given a declaration as per the following:
I can access the data by using the following code:Code:typedef std::vector <int> fooData; std::vector <fooData> m_fooData;
However I can't get my head around how I access the data in the following scenario (or if it's even valid):Code:m_fooData[0][0];
Can anyone point out what i'm misunderstanding?Code:typedef std::vector <int> fooData; std::vector <fooData *> m_fooData;
Cheers!