| 552 | } |
| 553 | |
| 554 | struct my_sender |
| 555 | { |
| 556 | using sender_concept = ex::sender_tag; |
| 557 | using is_sender = void; |
| 558 | |
| 559 | using completion_signatures = ex::completion_signatures_of_t<decltype(ex::just())>; |
| 560 | |
| 561 | template <class Recv> |
| 562 | auto connect(Recv &&recv) const |
| 563 | { |
| 564 | return ex::connect(ex::just(), std::forward<Recv>(recv)); |
| 565 | } |
| 566 | }; |
| 567 | |
| 568 | TEST_CASE("split accepts a custom sender", "[adaptors][split]") |
| 569 | { |