A
Angus
I assume that find on a vector is a linear search a bit like iterating
through the items in vector until first instance found?
If so, then I suppose it is slightly more convenient than writing code
to iterate vector.
If more than the odd search required obviously would be better to sort
vector and use lower_bound I guess.
through the items in vector until first instance found?
If so, then I suppose it is slightly more convenient than writing code
to iterate vector.
If more than the odd search required obviously would be better to sort
vector and use lower_bound I guess.