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

Method set_next

include/exec/sequence_senders.hpp:1070–1082  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1068 template <class _Item>
1069 STDEXEC_ATTRIBUTE(host, device)
1070 STDEXEC::__call_result_t<STDEXEC::just_t> set_next(_Item&&) noexcept
1071 {
1072 if constexpr (STDEXEC::__none_of<_Item, _Items...>)
1073 {
1074 using __what_t = STDEXEC::__mexception<
1075 STDEXEC::_WHAT_(
1076 THE_SEQUENCE_SENDER_CALLED_SET_NEXT_WITH_AN_ITEM_TYPE_NOT_LISTED_IN_ITS_GET_ITEM_TYPES_RESULT),
1077 STDEXEC::_WITH_TYPE_<_Item>,
1078 GET_ITEM_TYPES_RESULT(item_types<_Items...>)>;
1079 STDEXEC::__debug::_ATTENTION_<__what_t>();
1080 }
1081 STDEXEC_TERMINATE();
1082 }
1083 };
1084
1085 template <class _CvSequence, class _Env, class _ItemTypes, class... _Sigs>

Callers 3

__receiver_ref.hppFile · 0.45
operator()Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected