Scroll to navigation

std::ranges::zip_transform_view::zip_transform_view(3) C++ Standard Libary std::ranges::zip_transform_view::zip_transform_view(3)

NAME

std::ranges::zip_transform_view::zip_transform_view - std::ranges::zip_transform_view::zip_transform_view

Synopsis


zip_transform_view() = default; (1) (since C++23)
constexpr zip_transform_view( F fun, Views... views ); (2) (since C++23)


1) Default constructor. Value-initializes the stored invocable object and all
adapted view objects.


The default constructor is deleted if


* F does not satisfy default_initializable, or
* std::is_default_constructible_v is false for at least one type in Views....
2) Move constructs the stored invocable object from fun and every adapted view
object from the corresponding view in views....

Parameters


f - invocable object used for generation of elements of zip_transform_view
views - view objects to adapt

Example


This section is incomplete
Reason: no example

Category:


* Todo no example

2024.06.10 http://cppreference.com