Equality operator

Synopsis

Declared in <beman/transform_view/transform_view.hpp>

template<bool OtherConst>
requires std::sentinel_for<
                std::ranges::sentinel_t<Base>,
                std::ranges::iterator_t<detail::maybe_const<OtherConst, V> > >
constexpr
bool
operator==(
    iterator<OtherConst> const& x,
    sentinel const& y);

Return Value

true if the objects are equal, false otherwise

Parameters

Name

Description

x

The left operand

y

The right operand