Hi,
I used to have difficulty with more advanced bits of scope but eventually understood but after a long break from c++ i have of course forgotten bits. my problem is with this bit of code:
std::vector<int>::iterator it
as i understand it this bit of code creates an iterator for a vector of ints.
What i do not understand is what is going on with/after the second ::
e.g. i understand
std::vector<int>
i.e. look in the std namespace for the class template for vectors and create an integer version of it.
But how can you go further? is iterator a member of vector? as in
car::engine
?
Thanks