Hi,
If I have a std::vector of objects and I need to iterate through all its elements, is it faster to do:
for (vector::iterator i = myvec.begin(); i != myvec.end(); ++i)
//blah
or
for (int i = 0; i < myvec.size(); ++i)
// myvec[i] blah
Or are they equally fast?
Thanks
Xorlium