Iros
 
Loading...
Searching...
No Matches
di::container::detail::FoldLeftFunction Struct Reference

#include <di/container/algorithm/fold_left.h>

Public Member Functions

template<concepts::InputIterator Iter, concepts::SentinelFor< Iter > Sent, typename T, concepts::IndirectlyBinaryLeftFoldable< T, Iter > Op>
constexpr auto operator() (Iter first, Sent last, T init, Op op) const
 
template<concepts::InputContainer Con, typename T, concepts::IndirectlyBinaryLeftFoldable< T, meta::ContainerIterator< Con > > Op>
constexpr auto operator() (Con &&container, T init, Op op) const
 

Member Function Documentation

◆ operator()() [1/2]

template<concepts::InputContainer Con, typename T, concepts::IndirectlyBinaryLeftFoldable< T, meta::ContainerIterator< Con > > Op>
auto di::container::detail::FoldLeftFunction::operator() ( Con && container,
T init,
Op op ) const
inlineconstexpr

◆ operator()() [2/2]

template<concepts::InputIterator Iter, concepts::SentinelFor< Iter > Sent, typename T, concepts::IndirectlyBinaryLeftFoldable< T, Iter > Op>
auto di::container::detail::FoldLeftFunction::operator() ( Iter first,
Sent last,
T init,
Op op ) const
inlineconstexpr

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