rangeless::fn
rangeless::fn::impl::foldl< Ret, Op > Struct Template Reference

#include <fn.hpp>

Public Member Functions

template<typename Iterable >
Ret operator() (Iterable &&src) &&
 
template<typename Gen >
Ret operator() (seq< Gen > src) &&
 

Public Attributes

Ret init
 
Op fold_op
 

Detailed Description

template<typename Ret, typename Op>
struct rangeless::fn::impl::foldl< Ret, Op >

Definition at line 1379 of file fn.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename Ret , typename Op >
template<typename Iterable >
Ret rangeless::fn::impl::foldl< Ret, Op >::operator() ( Iterable &&  src) &&
inline

Definition at line 1385 of file fn.hpp.

◆ operator()() [2/2]

template<typename Ret , typename Op >
template<typename Gen >
Ret rangeless::fn::impl::foldl< Ret, Op >::operator() ( seq< Gen >  src) &&
inline

Definition at line 1404 of file fn.hpp.

Member Data Documentation

◆ fold_op

template<typename Ret , typename Op >
Op rangeless::fn::impl::foldl< Ret, Op >::fold_op

Definition at line 1382 of file fn.hpp.

◆ init

template<typename Ret , typename Op >
Ret rangeless::fn::impl::foldl< Ret, Op >::init

Definition at line 1381 of file fn.hpp.


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