| 67 | |
| 68 | template <class _CvSender> |
| 69 | static constexpr auto |
| 70 | transform_sender(STDEXEC::set_value_t, _CvSender&& __sndr, STDEXEC::__ignore) |
| 71 | { |
| 72 | static_assert(sender_for<_CvSender, ensure_started_t>); |
| 73 | auto __result = __shared::__sndr{ensure_started_t(), |
| 74 | STDEXEC::__get<2>(static_cast<_CvSender&&>(__sndr)), |
| 75 | STDEXEC::__get<1>(static_cast<_CvSender&&>(__sndr))}; |
| 76 | // eagerly start the operation: |
| 77 | __result.__sh_state_->__try_start(); |
| 78 | return __result; |
| 79 | } |
| 80 | }; |
| 81 | |
| 82 | inline constexpr ensure_started_t ensure_started{}; |
nothing calls this directly
no test coverage detected