Hi,
I have an iterator that points to an item in a vector. How do I get the item's position in the vector (its distance from vec.begin() )?
Thanks,
Avi.
I have an iterator that points to an item in a vector. How do I get the item's position in the vector (its distance from vec.begin() )?
Thanks,
Avi.
Comment