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

Function start_shared

test/exec/asio/test_completion_token.cpp:142–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140
141 template <typename Sender, typename Receiver>
142 void
143 start_shared(std::shared_ptr<connect_shared_operation_state<Sender, Receiver>>&& ptr) noexcept
144 {
145 REQUIRE(ptr);
146 auto&& state = *ptr;
147 state.start(std::move(ptr));
148 }
149
150 TEST_CASE("Asio-based asynchronous operation ends with error when canceled",
151 "[asioexec][completion_token]")

Callers 1

Calls 1

startMethod · 0.45

Tested by

no test coverage detected