cpp/algorithm/ranges/search n

@1@ Searches the range for the first sequence of  elements whose projected values are each equal to the given  according to the binary predicate. @2@ Same as, but uses as the source range, as if using  as  and  as.

Return value
@1@ Returns object that contains a pair of iterators in the range  that designate the found subsequence. If no such subsequence is found, returns. If, returns. @2@ same as but the return type is.

Complexity
Linear: at most applications of the predicate and the projection.