I have a vector of objects which implement
. C++ offers std::sort to sort that vector efficiently.
Is there also a function in std to efficiently search a vector repeatedly?
I will have many searches on that sorted vector, so std::find does not seem to be a good option, since it just walks through the iterator until it finds a match.