std::ranges::zip_view<Views...>::sentinel<Const>::sentinel

From cppreference.com
< cpp‎ | ranges‎ | zip view‎ | sentinel
 
 
Ranges library
Range access
Range conversions
(C++23)
Range primitives



Dangling iterator handling
Range concepts
Views

Range factories
Range adaptors
Range generators
Range adaptor objects
Range adaptor closure objects
Helper items
(until C++23)(C++23)


 
 
/*sentinel*/() = default;
(1) (since C++23)
constexpr /*sentinel*/( /*sentinel*/<!Const> i )

    requires Const &&
        (std::convertible_to<
            ranges::sentinel_t<Views>,

            ranges::sentinel_t</*maybe-const*/<Const, Views>>> && ...);
(2) (since C++23)

Constructs a sentinel.

1) Default constructor. Value-initializes the underlying tuple of sentinels end_.
2) Conversion from /*sentinel*/<false> to /*sentinel*/<true>. Move constructs the underlying tuple of sentinels end_ with std::move(i.end_).

The name sentinel is for exposition purposes only.

Parameters

i - a /*sentinel*/<false>

Example