cpp/algorithm/ranges/find

Returns the first element in the range that satisfies specific criteria: @1@ searches for an element equal to.

@3@ searches for an element for which predicate  returns.

@5@ searches for an element for which predicate  returns. @2,4,6@ Same as, but uses as the source range, as if using  as  and  as.

Return value
Iterator to the first element satisfying the condition or iterator equal to if no such element is found.

Complexity
At most applications of the predicate and projection.