template <class InputIterator, class UnaryPredicate> InputIterator find_if (InputIterator first, InputIterator last, UnaryPredicate pred);
[first,last)
for which pred returns true
. If no such element is found, the function returns last.
|
|
[first,last)
, which contains all the elements between first and last, including the element pointed by first but not the element pointed by last.bool
. The value returned indicates whether the element is considered a match in the context of this function.false
.false
for all elements, the function returns last.
|
|
The first odd value is 25 |
[first,last)
are accessed (once at most).