24 (
requires lazy::Sender<std::decay_t<In>>&& lazy::Invocable<Op&, In>)
26 return op((In &&) in);
30 #if __cpp_fold_expressions >= 201603 31 template <
class T,
class... FN>
32 auto operator()(T
t, FN... fn)
const -> decltype((t | ... | fn)) {
33 return (t | ... | fn);
36 template <
class T,
class F>
40 template <
class T,
class F,
class... FN,
class This =
pipe_fn>
42 -> decltype(This()((t | f), fn...)) {
43 return This()((t |
f), fn...);
requires lazy::Sender< std::decay_t< In > > &&decltype(auto) lazy::Invocable< Op &, In > operator|(In &&in, Op op)
PUSHMI_INLINE_VAR constexpr struct folly::pushmi::pipe_fn pipe
auto operator()(T t, F f) const -> decltype(t|f)
—— Concurrent Priority Queue Implementation ——
#define PUSHMI_INLINE_VAR
requires requires(detail::apply_impl(std::declval< F >(), std::declval< Tuple >(), detail::tupidxs< Tuple >{}))) const expr decltype(auto) apply(F &&f
auto operator()(T t, F f, FN...fn) const -> decltype(This()((t|f), fn...))
PUSHMI_TEMPLATE(class E=std::exception_ptr, class Wrapped)(requires Sender< detail