llvm::equal

Return whether corresponding elements of LRange and RRange are equal according to P.

Synopsis

Declared in <llvm/ADT/STLExtras.h>

template<
    typename L,
    typename R,
    typename BinaryPredicate>
bool
equal(
    L&& LRange,
    R&& RRange,
    BinaryPredicate P);

Return Value

True if corresponding elements are equal according to P.

Parameters

NameDescription
LRangeFirst range to compare.
RRangeSecond range to compare.
PBinary predicate comparing element pairs.