proxygen
folly::pushmi::operators::flow_from_fn Struct Reference

#include <from.h>

Classes

struct  out_impl
 

Public Member Functions

requires DerivedFrom< typename std::iterator_traits< I >::iterator_category, std::forward_iterator_tag > auto operator() (I begin, S end) const
 
requires Range< R > auto operator() (R &&range) const
 
requires DerivedFrom< typename std::iterator_traits< I >::iterator_category, std::forward_iterator_tag > &&Sender< Exec, is_single<>, is_executor<> > auto operator() (I begin, S end, Exec exec) const
 
requires Range< R > &&Sender< Exec, is_single<>, is_executor<> > auto operator() (R &&range, Exec exec) const
 

Detailed Description

Definition at line 137 of file from.h.

Member Function Documentation

requires DerivedFrom< typename std::iterator_traits<I>::iterator_category, std::forward_iterator_tag> auto folly::pushmi::operators::flow_from_fn::operator() ( begin,
S  end 
) const
inline

Definition at line 166 of file from.h.

References folly::test::begin(), folly::test::end(), folly::pushmi::PUSHMI_TEMPLATE(), folly::pushmi::requires(), and folly::pushmi::trampoline().

166  {
167  return (*this)(begin, end, trampoline());
168  }
detail::delegator< E > trampoline()
Definition: trampoline.h:261
auto begin(TestAdlIterable &instance)
Definition: ForeachTest.cpp:56
auto end(TestAdlIterable &instance)
Definition: ForeachTest.cpp:62
requires Range<R> auto folly::pushmi::operators::flow_from_fn::operator() ( R &&  range) const
inline

Definition at line 172 of file from.h.

References folly::test::begin(), folly::test::end(), folly::pushmi::PUSHMI_TEMPLATE(), folly::range(), folly::pushmi::requires(), and folly::pushmi::trampoline().

172  {
173  return (*this)(std::begin(range), std::end(range), trampoline());
174  }
detail::delegator< E > trampoline()
Definition: trampoline.h:261
auto begin(TestAdlIterable &instance)
Definition: ForeachTest.cpp:56
auto end(TestAdlIterable &instance)
Definition: ForeachTest.cpp:62
constexpr Range< Iter > range(Iter first, Iter last)
Definition: Range.h:1114
requires DerivedFrom< typename std::iterator_traits<I>::iterator_category, std::forward_iterator_tag>&& Sender<Exec, is_single<>, is_executor<> > auto folly::pushmi::operators::flow_from_fn::operator() ( begin,
S  end,
Exec  exec 
) const
inline

Definition at line 180 of file from.h.

References folly::test::begin(), folly::test::end(), folly::pushmi::make_flow_many_sender, folly::pushmi::PUSHMI_TEMPLATE(), and folly::pushmi::requires().

180  {
181  return make_flow_many_sender(out_impl<I, S, Exec>{begin, end, exec});
182  }
auto begin(TestAdlIterable &instance)
Definition: ForeachTest.cpp:56
PUSHMI_INLINE_VAR constexpr struct folly::pushmi::make_flow_many_sender_fn make_flow_many_sender
auto end(TestAdlIterable &instance)
Definition: ForeachTest.cpp:62
requires Range<R>&& Sender<Exec, is_single<>, is_executor<> > auto folly::pushmi::operators::flow_from_fn::operator() ( R &&  range,
Exec  exec 
) const
inline

Definition at line 186 of file from.h.

References folly::test::begin(), folly::test::end(), and folly::pushmi::operators::flow_from.

188  {
189  return (*this)(std::begin(range), std::end(range), exec);
190  }
auto begin(TestAdlIterable &instance)
Definition: ForeachTest.cpp:56
auto end(TestAdlIterable &instance)
Definition: ForeachTest.cpp:62
constexpr Range< Iter > range(Iter first, Iter last)
Definition: Range.h:1114

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