cpp/algorithm/ranges/contains

@1@ Search-based algorithm that checks whether or not a given range contains a value with iterator-sentinel pairs. @2@ Same as but uses  as the source range, as if using  as  and  as. @3@ Search-based algorithm that checks whether or not a given range is a subrange of another range with iterator-sentinel pairs. @4@ Same as but uses  as the first source range and  as the second source range, as if using  as,  as ,  as , and  as.

Return value
@1-2@:

@3-4@:

Complexity
At most applications of the predicate and projection.