MCPcopy Create free account
hub / github.com/NVIDIA/stdexec / my_sender

Class my_sender

test/exec/test_split.cpp:554–566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 1

test_split.cppFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected