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

Class __state

include/stdexec/__detail/__sequence.hpp:182–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180 // __state: the part of the opstate that is referenced by __rcvr2.
181 template <class _Receiver, class _Env2>
182 struct __state
183 {
184 constexpr explicit __state(_Receiver &&__rcvr, _Env2 &&__env2) noexcept
185 : __rcvr_(static_cast<_Receiver &&>(__rcvr))
186 , __env_(static_cast<_Env2 &&>(__env2))
187 {}
188
189 virtual constexpr void __start_next() noexcept = 0;
190
191 _Receiver __rcvr_;
192 STDEXEC_IMMOVABLE_NO_UNIQUE_ADDRESS
193 _Env2 const __env_;
194 };
195
196 //////////////////////////////////////////////////////////////////////////////////////
197 // __rcvr2: the receiver that is connected to the successor sender.

Callers 3

__try_associateMethod · 0.70
__disassociateMethod · 0.70
__make_bitsMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected