proxygen
folly::pushmi::detail::tap_fn Struct Reference

#include <tap.h>

Classes

struct  in_impl
 
struct  out_impl
 

Public Member Functions

template<class... AN>
auto operator() (AN...an) const
 

Static Private Member Functions

requires Sender< In > &&static Receiver< SideEffects > auto impl (In in, SideEffects sideEffects)
 

Detailed Description

Definition at line 74 of file tap.h.

Member Function Documentation

requires Sender<In>&& static Receiver<SideEffects> auto folly::pushmi::detail::tap_fn::impl ( In  in,
SideEffects  sideEffects 
)
inlinestaticprivate

Definition at line 78 of file tap.h.

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

Referenced by folly::pushmi::detail::tap_fn::in_impl< AN >::operator()().

80  {
82  std::move(in),
83  ::folly::pushmi::detail::submit_transform_out<In>(
84  out_impl<In, SideEffects>{std::move(sideEffects)}));
85  }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
PUSHMI_INLINE_VAR constexpr struct folly::pushmi::detail::sender_from_fn sender_from
template<class... AN>
auto folly::pushmi::detail::tap_fn::operator() ( AN...  an) const
inline

Definition at line 118 of file tap.h.

References folly::gen::move.

118  {
119  return in_impl<AN...>{std::tuple<AN...>{std::move(an)...}};
120  }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567

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