proxygen
folly::pushmi::operators::from_fn::out_impl< I, S > Struct Template Reference

Public Member Functions

requires ReceiveValue< Out, typename std::iterator_traits< I >::value_type > void operator() (sender_base &, Out out) const
 

Public Attributes

begin_
 
S end_
 

Detailed Description

template<class I, class S>
struct folly::pushmi::operators::from_fn::out_impl< I, S >

Definition at line 46 of file from.h.

Member Function Documentation

template<class I , class S >
requires ReceiveValue< Out, typename std::iterator_traits<I>::value_type> void folly::pushmi::operators::from_fn::out_impl< I, S >::operator() ( sender_base ,
Out  out 
) const
inline

Definition at line 53 of file from.h.

References c, end_, folly::pushmi::PUSHMI_TEMPLATE(), folly::pushmi::requires(), folly::pushmi::set_done, and folly::pushmi::set_value.

53  {
54  auto c = begin_;
55  for (; c != end_; ++c) {
56  set_value(out, *c);
57  }
58  set_done(out);
59  }
PUSHMI_INLINE_VAR constexpr __adl::set_value_fn set_value
char c
PUSHMI_INLINE_VAR constexpr __adl::set_done_fn set_done

Member Data Documentation

template<class I , class S >
I folly::pushmi::operators::from_fn::out_impl< I, S >::begin_

Definition at line 47 of file from.h.

template<class I , class S >
S folly::pushmi::operators::from_fn::out_impl< I, S >::end_

Definition at line 48 of file from.h.


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