25 template <
class PE,
class PV,
class E,
class... VN>
31 template <
class Wrapped>
46 template <
class Wrapped>
67 template <
class Wrapped>
75 static_cast<Wrapped
const*
>((
void*)src.
buffer_)->~Wrapped();
79 *static_cast<Wrapped*>((
void*)src.
buffer_))};
90 template <
class T,
class U = std::decay_t<T>>
103 (
requires FlowSender<wrapped_t<Wrapped>, is_many<>>)
123 template <
class PE,
class PV,
class E,
class... VN>
127 template <
class SF,
class EXF>
143 (
requires FlowReceiver<Out> && Invocable<SF&, Out>)
149 template <PUSHMI_TYPE_CONSTRAINT(Sender<is_many<>, is_flow<>>) Data,
class DSF,
class DEXF>
169 lazy::Invocable<DSF&, Data&, Out>))
190 auto operator()(SF sf)
const {
195 auto operator()(SF sf, EXF exf)
const {
200 auto operator()(
Data d)
const {
204 (
requires Sender<Data, is_many<>, is_flow<>>)
205 auto operator()(
Data d, DSF sf)
const {
209 (
requires Sender<Data, is_many<>, is_flow<>> && Invocable<DEXF&, Data&>)
210 auto operator()(
Data d, DSF sf, DEXF exf)
const {
217 #if __cpp_deduction_guides >= 201703 233 (
requires Sender<Data, is_many<>, is_flow<>>)
237 (
requires Sender<Data, is_many<>, is_flow<>> && Invocable<DEXF&, Data&>)
constexpr flow_many_sender(Data data, DSF sf, DEXF exf)
any_executor< E >(* executor_)(data &)
void(* submit_)(data &, any_flow_receiver< PE, PV, E, VN... >)
constexpr flow_many_sender(Data data)
char buffer_[sizeof(std::tuple< VN... >)]
static void s_op(data &, data *)
property_set_insert_t< properties_t< Data >, property_set< is_sender<>, is_flow<>, is_many<>>> properties
constexpr detail::Map< Move > move
—— Concurrent Priority Queue Implementation ——
requires E e noexcept(noexcept(s.error(std::move(e))))
any_flow_many_sender()=default
PUSHMI_INLINE_VAR constexpr __adl::get_executor_fn executor
typename std::enable_if_t< PropertySet< PS0 > &&PropertySet< PS1 >, detail::property_set_insert< PS0, PS1 >>::type property_set_insert_t
static void s_submit(data &, any_flow_receiver< PE, PV, E, VN... >)
bool_constant< true > true_type
void(* op_)(data &, data *)
static any_executor< E > s_executor(data &)
static constexpr vtable const noop_
PUSHMI_INLINE_VAR constexpr struct folly::pushmi::make_flow_many_sender_fn make_flow_many_sender
any_flow_many_sender & operator=(any_flow_many_sender &&that) noexcept
any_flow_many_sender(Wrapped obj, std::true_type) noexcept
constexpr auto data(C &c) -> decltype(c.data())
requires FlowSender< wrapped_t< Wrapped >, is_many<> > any_flow_many_sender(Wrapped obj) noexcept(insitu< Wrapped >())
static const char *const value
#define PUSHMI_INLINE_VAR
std::integral_constant< bool, B > bool_
requires requires(detail::apply_impl(std::declval< F >(), std::declval< Tuple >(), detail::tupidxs< Tuple >{}))) const expr decltype(auto) apply(F &&f
T exchange(T &obj, U &&new_value)
PUSHMI_TEMPLATE(class E=std::exception_ptr, class Wrapped)(requires Sender< detail
union folly::pushmi::any_flow_many_sender::data data_
any_flow_many_sender(Wrapped obj, std::false_type)
requires PUSHMI_EXP(lazy::FlowReceiver< Out > PUSHMI_AND lazy::Invocable< DSF &, Data &, Out >)) void submit(Out out)
requires FlowReceiver< Out > &&Invocable< SF &, Out > void submit(Out out)
any_flow_many_sender(any_flow_many_sender &&that) noexcept
bool_constant< false > false_type
void submit(any_flow_receiver< PE, PV, E, VN... > out)
void swap(SwapTrackingAlloc< T > &, SwapTrackingAlloc< T > &)
constexpr flow_many_sender(SF sf)
#define PUSHMI_BROKEN_SUBSUMPTION(...)
any_executor< E > executor()
static constexpr bool insitu()
constexpr flow_many_sender(SF sf, EXF exf)
std::enable_if_t<!std::is_same< U, any_flow_many_sender >::value, U > wrapped_t
constexpr flow_many_sender(Data data, DSF sf)