rangeless::fn
rangeless::fn::impl::zip_with< Iterable2, BinaryFn >::gen< Iterable1 > Struct Template Reference

#include <fn.hpp>

Public Types

using value_type = decltype(fn(std::move(*it1), std::move(*it2)))
 

Public Member Functions

auto operator() () -> maybe< value_type >
 

Public Attributes

BinaryFn fn
 
Iterable1 src1
 
Iterable2 src2
 
Iterable1::iterator it1
 
Iterable2::iterator it2
 
bool started
 

Detailed Description

template<typename Iterable2, typename BinaryFn>
template<typename Iterable1>
struct rangeless::fn::impl::zip_with< Iterable2, BinaryFn >::gen< Iterable1 >

Definition at line 3237 of file fn.hpp.

Member Typedef Documentation

◆ value_type

template<typename Iterable2 , typename BinaryFn >
template<typename Iterable1 >
using rangeless::fn::impl::zip_with< Iterable2, BinaryFn >::gen< Iterable1 >::value_type = decltype(fn(std::move(*it1), std::move(*it2)))

Definition at line 3247 of file fn.hpp.

Member Function Documentation

◆ operator()()

template<typename Iterable2 , typename BinaryFn >
template<typename Iterable1 >
auto rangeless::fn::impl::zip_with< Iterable2, BinaryFn >::gen< Iterable1 >::operator() ( ) -> maybe<value_type>
inline

Definition at line 3249 of file fn.hpp.

Member Data Documentation

◆ fn

template<typename Iterable2 , typename BinaryFn >
template<typename Iterable1 >
BinaryFn rangeless::fn::impl::zip_with< Iterable2, BinaryFn >::gen< Iterable1 >::fn

Definition at line 3239 of file fn.hpp.

◆ it1

template<typename Iterable2 , typename BinaryFn >
template<typename Iterable1 >
Iterable1::iterator rangeless::fn::impl::zip_with< Iterable2, BinaryFn >::gen< Iterable1 >::it1

Definition at line 3242 of file fn.hpp.

◆ it2

template<typename Iterable2 , typename BinaryFn >
template<typename Iterable1 >
Iterable2::iterator rangeless::fn::impl::zip_with< Iterable2, BinaryFn >::gen< Iterable1 >::it2

Definition at line 3243 of file fn.hpp.

◆ src1

template<typename Iterable2 , typename BinaryFn >
template<typename Iterable1 >
Iterable1 rangeless::fn::impl::zip_with< Iterable2, BinaryFn >::gen< Iterable1 >::src1

Definition at line 3240 of file fn.hpp.

◆ src2

template<typename Iterable2 , typename BinaryFn >
template<typename Iterable1 >
Iterable2 rangeless::fn::impl::zip_with< Iterable2, BinaryFn >::gen< Iterable1 >::src2

Definition at line 3241 of file fn.hpp.

◆ started

template<typename Iterable2 , typename BinaryFn >
template<typename Iterable1 >
bool rangeless::fn::impl::zip_with< Iterable2, BinaryFn >::gen< Iterable1 >::started

Definition at line 3244 of file fn.hpp.


The documentation for this struct was generated from the following file: