rangeless::fn
rangeless::fn::impl::foldl_1< F > Struct Template Reference

#include <fn.hpp>

Public Member Functions

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

Public Attributes

fold_op
 

Detailed Description

template<typename F>
struct rangeless::fn::impl::foldl_1< F >

Definition at line 1458 of file fn.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename F >
template<typename Iterable >
auto rangeless::fn::impl::foldl_1< F >::operator() ( Iterable &&  src) const -> decltype(fold_op(std::move(*src.begin()), *src.begin()))
inline

Definition at line 1463 of file fn.hpp.

◆ operator()() [2/2]

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

Definition at line 1483 of file fn.hpp.

Member Data Documentation

◆ fold_op

template<typename F >
F rangeless::fn::impl::foldl_1< F >::fold_op

Definition at line 1460 of file fn.hpp.


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