libycxx

function object

std::ranges::views::zip

Header
<ranges>
Scope
std::ranges::views
cppreference
<ranges> nearest page

Synopsis

inline constexpr /* implementation-defined */ zip = {};

Call signatures

zip is a function object; these are its call operators as libycxx declares them, written as the functions the draft declares.

  1. [[nodiscard]] constexpr auto zip() noexcept;
    (1)
  2. template<class... Es>
      requires (sizeof...(Es) > 0) &&
                requires { std::ranges::zip_view<std::views::all_t<Es>...>(std::declval<Es>()...); }
    [[nodiscard]] constexpr auto zip(Es&&... es);
    (2)