composes ___new_count and __new_state into the packed representation we store in __bits
| 622 | // composes ___new_count and __new_state into the packed representation we store |
| 623 | // in __bits |
| 624 | static constexpr std::size_t |
| 625 | __make_bits(std::size_t ___new_count, std::size_t __new_state) noexcept |
| 626 | { |
| 627 | // no high bits set |
| 628 | STDEXEC_ASSERT(__count(___new_count << 3) == ___new_count); |
| 629 | |
| 630 | // no high bits set |
| 631 | STDEXEC_ASSERT(__state(__new_state) == __new_state); |
| 632 | |
| 633 | return (___new_count << 3) | __state(__new_state); |
| 634 | } |
| 635 | |
| 636 | bool __register(__join_state_base& __join_op) noexcept |
| 637 | { |