operator-(ranges::adjacent_view::sentinel)
requires std::sized_sentinel_for <ranges::sentinel_t <Base>,
ranges::iterator_t </*maybe-const*/<OtherConst, V>>>
friend constexpr ranges::range_difference_t </*maybe-const*/<OtherConst, V>>
requires std::sized_sentinel_for <ranges::sentinel_t <Base>,
ranges::iterator_t </*maybe-const*/<OtherConst, V>>>
friend constexpr ranges::range_difference_t </*maybe-const*/<OtherConst, V>>
Computes the distance between the underlying iterator of x and the underlying sentinel of y.
Let current_
denote the underlying array of iterators in x, and end_
denote the underlying sentinel in y.
These function templates are not visible to ordinary unqualified or qualified lookup, and can only be found by argument-dependent lookup when adjacent_view::sentinel
is an associated class of the arguments.
Contents
[edit] Parameters
[edit] Return value
The distance between x and y.
[edit] Example
Reason: no example