Namespaces
Variants
Actions

std::ranges::zip_transform_view<F,Views...>::zip_transform_view

From cppreference.com
 
C++
 
Ranges library
Range adaptors
 
std::ranges::zip_transform_view
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

2) Move constructs the stored invocable object from fun and every adapted view object from the corresponding view in views....

[edit] Parameters

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

[edit] Example

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant