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

From cppreference.com
< cpp‎ | ranges‎ | zip view
 
 
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)


 
 
zip_view() = default;
(1) (since C++23)
constexpr zip_view( Views... views );
(2) (since C++23)
1) Default constructor. Value-initializes all adapted view objects.
The default constructor is deleted if std::is_default_constructible_v is false for at least one type in Views....
2) Move constructs every adapted view object from the corresponding view in views....

Parameters

views - view objects to adapt

Example