rangeless::fn
rangeless::fn::impl::zip_adjacent< BinaryFn >::gen< Iterable > Struct Template Reference

#include <fn.hpp>

Public Types

using value_type = decltype(fn(*it, *it))
 

Public Member Functions

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

Public Attributes

BinaryFn fn
 
Iterable src
 
Iterable::iterator it
 
bool started
 

Detailed Description

template<typename BinaryFn>
template<typename Iterable>
struct rangeless::fn::impl::zip_adjacent< BinaryFn >::gen< Iterable >

Definition at line 3282 of file fn.hpp.

Member Typedef Documentation

◆ value_type

template<typename BinaryFn >
template<typename Iterable >
using rangeless::fn::impl::zip_adjacent< BinaryFn >::gen< Iterable >::value_type = decltype(fn(*it, *it))

Definition at line 3289 of file fn.hpp.

Member Function Documentation

◆ operator()()

template<typename BinaryFn >
template<typename Iterable >
auto rangeless::fn::impl::zip_adjacent< BinaryFn >::gen< Iterable >::operator() ( ) -> maybe<value_type>
inline

Definition at line 3291 of file fn.hpp.

Member Data Documentation

◆ fn

template<typename BinaryFn >
template<typename Iterable >
BinaryFn rangeless::fn::impl::zip_adjacent< BinaryFn >::gen< Iterable >::fn

Definition at line 3284 of file fn.hpp.

◆ it

template<typename BinaryFn >
template<typename Iterable >
Iterable::iterator rangeless::fn::impl::zip_adjacent< BinaryFn >::gen< Iterable >::it

Definition at line 3286 of file fn.hpp.

◆ src

template<typename BinaryFn >
template<typename Iterable >
Iterable rangeless::fn::impl::zip_adjacent< BinaryFn >::gen< Iterable >::src

Definition at line 3285 of file fn.hpp.

◆ started

template<typename BinaryFn >
template<typename Iterable >
bool rangeless::fn::impl::zip_adjacent< BinaryFn >::gen< Iterable >::started

Definition at line 3287 of file fn.hpp.


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