Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | ranges‎ | zip view
 
 
Ranges library
Range adaptors
 
 
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 in views_ from the corresponding view in views....

[edit] Parameters

views - view objects to adapt

[edit] Example