function object
std::ranges::views::zip_transform
- Header
<ranges>- Draft
- [ranges.syn]
- Scope
std::ranges::views- cppreference
- <ranges> nearest page
Synopsis
inline constexpr /* implementation-defined */ zip_transform = {};Call signatures
zip_transform is a function object; these are its call operators as libycxx declares them, written as the functions the draft declares.
- (1)
template<class F> requires std::move_constructible<std::decay_t<F>> && std::regular_invocable<std::decay_t<F>&> && std::is_object_v<std::decay_t<std::invoke_result_t<std::decay_t<F>&>>> [[nodiscard]] constexpr auto zip_transform(F&& f); - (2)
template<class F, class... Es> requires (sizeof...(Es) > 0) && requires { std::ranges::zip_transform_view( std::declval<F>(), std::declval<Es>()...); } [[nodiscard]] constexpr auto zip_transform(F&& f, Es&&... es);