find function template — Searches for a value using linear search
template<typename InIter, typename T>
InIter find(InIter first, InIter last, const T& value);
The find
function template
returns an iterator that points to the first occurrence of value
in [first
, last
). It returns last
if value
is not found. The ==
operator is used to compare
items.