We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db9705d + 02d671d commit 030499fCopy full SHA for 030499f
1 file changed
include/stdexec/__detail/__basic_sender.hpp
@@ -236,6 +236,19 @@ namespace STDEXEC
236
using receiver_concept = receiver_tag;
237
using __index_t = __msize_t<_Idx>;
238
239
+#if STDEXEC_APPLE_CLANG()
240
+ // These constructors are a work-around for bad codegen with apple-clang
241
+ STDEXEC_ATTRIBUTE(always_inline)
242
+ constexpr explicit __rcvr(_State& __state) noexcept
243
+ : __state_(__state)
244
+ {}
245
+
246
247
+ constexpr __rcvr(__rcvr const & __other) noexcept
248
+ : __state_(__other.__state_)
249
250
+#endif // STDEXEC_APPLE_CLANG()
251
252
template <class... _Args>
253
STDEXEC_ATTRIBUTE(always_inline)
254
constexpr void set_value(_Args&&... __args) noexcept
0 commit comments