proxygen
folly::pushmi::detail::transform_fn::impl< F > Struct Template Reference

Public Member Functions

requires Sender< In > auto operator() (In in) const
 

Public Attributes

f_
 

Detailed Description

template<class F>
struct folly::pushmi::detail::transform_fn::impl< F >

Definition at line 129 of file transform.h.

Member Function Documentation

template<class F >
requires Sender<In> auto folly::pushmi::detail::transform_fn::impl< F >::operator() ( In  in) const
inline

Definition at line 133 of file transform.h.

References folly::gen::move, folly::pushmi::property_query_v, and folly::pushmi::detail::sender_from.

133  {
134  using Cardinality = property_set_index_t<properties_t<In>, is_single<>>;
136  std::move(in),
137  ::folly::pushmi::detail::submit_transform_out<In>(
138  // copy 'f_' to allow multiple calls to connect to multiple 'in'
139  transform_on<
140  F,
141  Cardinality,
142  property_query_v<properties_t<In>, is_flow<>>>{f_}));
143  }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
PUSHMI_INLINE_VAR constexpr bool property_query_v
Definition: properties.h:176
PUSHMI_INLINE_VAR constexpr struct folly::pushmi::detail::sender_from_fn sender_from

Member Data Documentation

template<class F >
F folly::pushmi::detail::transform_fn::impl< F >::f_

Definition at line 130 of file transform.h.


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