folly::operator==

Templated comparison operators

Synopsis

Declared in <folly/Range.h>

template<class Iter>
bool
operator==(
    Range<Iter> const& lhs,
    Range<Iter> const& rhs);

Description

Compare two ranges for equality.

Return Value

True if both ranges have equal elements.

Parameters

NameDescription
lhsThe left-hand range.
rhsThe right-hand range.