cpp/experimental/ranges/algorithm/equal

@1@ Returns if the range  is equal to the range, and  otherwise.

@2@ Same as, but uses as the first source range and  as the second source range, as if using  as ,  as ,  as , and  as.

@3@ Same as, except that the second range is considered to end when either the first range is exhausted or the first mismatch is detected. Equivalent to

@4@ Same as, but uses as the first source range,  as if using  as  and  as.

Two ranges are considered equal if they have the same number of elements and, for every iterator in the range,  is true.

Return value
if the two ranges are equal, otherwise returns.

Complexity
@1-2@ If is satisfied and, no applications of the predicate and projections. Otherwise, at most min( -, - ) applications of the predicate and each projection. @3-4@ At most -  applications of the predicate and each projection.