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

Method __complete

include/exec/detail/shared.hpp:277–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275 /// @post __waiters_ is set to a known "tombstone" value.
276 template <class _Tag, class... _As>
277 void __complete(_Tag, _As&&... __as) noexcept
278 {
279 STDEXEC_TRY
280 {
281 using __tuple_t = __decayed_tuple<_Tag, _As...>;
282 __results_.template emplace<__tuple_t>(_Tag(), static_cast<_As&&>(__as)...);
283 }
284 STDEXEC_CATCH_ALL
285 {
286 if constexpr (!__nothrow_decay_copyable<_As...>)

Callers 5

__visit_resultMethod · 0.45
set_valueMethod · 0.45
set_errorMethod · 0.45
set_stoppedMethod · 0.45
__notifyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected