std::ranges::transform_view<V,F>::end

Returns a sentinel or an iterator representing the end of the transform_view.

# Declarations

constexpr /*sentinel*/<false> end();

(since C++20)

constexpr /*iterator*/<false> end() requires ranges::common_range<V>;

(since C++20)

constexpr /*sentinel*/<true> end() const
requires ranges::range<const V> &&
std::regular_invocable<const F&, ranges::range_reference_t<const V>>;

(since C++20)

constexpr /*iterator*/<true> end() const
requires ranges::common_range<const V> &&
std::regular_invocable<const F&, ranges::range_reference_t<const V>>;

(since C++20)

# Notes

end() returns an iterator if and only if the underlying view is a common_range: transform_view<V,F> models common_range whenever V does.

# Example

This section is incompleteReason: no example

# See also