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

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

Public Member Functions

template<concepts::BidirectionalIterator It, concepts::SentinelFor< It > Sent, typename T, concepts::IndirectlyBinaryRightFoldable< T, It > Op>
constexpr auto operator() (It first, Sent last, T init, Op op) const
 
template<concepts::BidirectionalContainer Con, typename T, concepts::IndirectlyBinaryRightFoldable< T, meta::ContainerIterator< Con > > Op>
constexpr auto operator() (Con &&container, T init, Op op) const
 

Member Function Documentation

◆ operator()() [1/2]

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

◆ operator()() [2/2]

template<concepts::BidirectionalIterator It, concepts::SentinelFor< It > Sent, typename T, concepts::IndirectlyBinaryRightFoldable< T, It > Op>
auto di::container::detail::FoldRightFunction::operator() ( It first,
Sent last,
T init,
Op op ) const
inlineconstexpr

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