rangeless::fn
rangeless::fn::impl::foldl_d< Op > Struct Template Reference

#include <fn.hpp>

Classes

struct  any
 

Public Member Functions

template<typename Iterable >
auto operator() (Iterable &&src) const -> decltype(fold_op(any(), *src.begin()))
 
template<typename Gen >
auto operator() (seq< Gen > src) const -> decltype(fold_op(any(), std::move(*src.get_gen()())))
 

Public Attributes

Op fold_op
 

Detailed Description

template<typename Op>
struct rangeless::fn::impl::foldl_d< Op >

Definition at line 1416 of file fn.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename Op >
template<typename Iterable >
auto rangeless::fn::impl::foldl_d< Op >::operator() ( Iterable &&  src) const -> decltype(fold_op(any(), *src.begin()))
inline

Definition at line 1427 of file fn.hpp.

◆ operator()() [2/2]

template<typename Op >
template<typename Gen >
auto rangeless::fn::impl::foldl_d< Op >::operator() ( seq< Gen >  src) const -> decltype(fold_op(any(), std::move(*src.get_gen()())))
inline

Definition at line 1442 of file fn.hpp.

Member Data Documentation

◆ fold_op

template<typename Op >
Op rangeless::fn::impl::foldl_d< Op >::fold_op

Definition at line 1418 of file fn.hpp.


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