| 443 | |
| 444 | template <class... As> |
| 445 | void set_value(As &&...as) noexcept |
| 446 | { |
| 447 | using tuple_t = STDEXEC::__decayed_std_tuple<As...>; |
| 448 | |
| 449 | if constexpr (MayThrow) |
| 450 | { |
| 451 | STDEXEC_TRY |
| 452 | { |
| 453 | shared_state_.data_.template emplace<tuple_t>(std::move(as)...); |
| 454 | } |
| 455 | STDEXEC_CATCH_ALL |
| 456 | { |
| 457 | STDEXEC::set_error(std::move(shared_state_.rcvr_), std::current_exception()); |
| 458 | } |
| 459 | } |
| 460 | else |
| 461 | { |
nothing calls this directly
no test coverage detected