function object
std::ranges::views::zip
- Header
<ranges>- Draft
- [ranges.syn]
- 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; - (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);