Range-v3
Range algorithms, views, and actions for the Standard Library
ranges::v3::view::zip_with_fn Struct Reference

Synopsis of methods

constexpr zip_with_fn zip_with {}
 

Public Types

template<typename Fun , typename... Rngs>
using Concept = meta::and_< InputRange< Rngs >..., CopyConstructible< Fun >, Invocable< Fun &, range_reference_t< Rngs > &&... > >
 

Public Member Functions

template<typename Fun , typename... Rngs, requires = (sizeof...(Rngs) != 0 && Concept<Fun, Rngs...>())>
zip_with_view< Fun, all_t< Rngs >... > operator() (Fun fun, Rngs &&... rngs) const
 
template<typename Fun , requires = (Concept<Fun>())>
constexpr empty_view< std::tuple<> > operator() (Fun) const noexcept