proxygen
folly::pushmi::detail::filter_fn::submit_impl< In, Predicate > Struct Template Reference

Public Member Functions

requires Receiver< Out > auto operator() (Out out) const
 

Public Attributes

Predicate p_
 

Detailed Description

template<class In, class Predicate>
struct folly::pushmi::detail::filter_fn::submit_impl< In, Predicate >

Definition at line 40 of file filter.h.

Member Function Documentation

template<class In , class Predicate >
requires Receiver<Out> auto folly::pushmi::detail::filter_fn::submit_impl< In, Predicate >::operator() ( Out  out) const
inline

Definition at line 44 of file filter.h.

References folly::gen::move.

44  {
45  return ::folly::pushmi::detail::receiver_from_fn<In>()(
46  std::move(out),
47  // copy 'p' to allow multiple calls to submit
48  on_value_impl<In, Predicate>{p_});
49  }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567

Member Data Documentation

template<class In , class Predicate >
Predicate folly::pushmi::detail::filter_fn::submit_impl< In, Predicate >::p_

Definition at line 41 of file filter.h.


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