|
5063 | 5063 | auto&& [_, data] = std::forward<Sndr>(sndr); |
5064 | 5064 |
|
5065 | 5065 | using associate_data_t = remove_cvref_t<decltype(data)>; |
5066 | | - using assoc_t = associate_data_t::assoc-t; |
5067 | | - using sender_ref_t = associate_data_t::sender-ref; |
| 5066 | + using assoc_t = associate_data_t::@\exposid{assoc-t}@; |
| 5067 | + using sender_ref_t = associate_data_t::@\exposid{sender-ref}@; |
5068 | 5068 |
|
5069 | 5069 | using op_t = connect_result_t<typename sender_ref_t::element_type, Rcvr>; |
5070 | 5070 |
|
|
5078 | 5078 | explicit op_state(pair<assoc_t, sender_ref_t> parts, Rcvr& r) |
5079 | 5079 | : assoc(std::move(parts.first)) { |
5080 | 5080 | if (assoc) |
5081 | | - ::new (voidify(op)) op_t(connect(std::move(*parts.second), std::move(r))); |
| 5081 | + ::new (@\placeholdernc{voidify}@(op)) op_t(connect(std::move(*parts.second), std::move(r))); |
5082 | 5082 | else |
5083 | 5083 | rcvr = addressof(r); |
5084 | 5084 | } |
|
5879 | 5879 |
|
5880 | 5880 | @\exposid{spawn-state}@(Alloc alloc, Sender&& sndr, Token token); // \expos |
5881 | 5881 | void @\exposid{complete}@() noexcept override; // \expos |
5882 | | - void @\exposid{run}@(); // \expos |
| 5882 | + void @\exposid{run}@() noexcept; // \expos |
5883 | 5883 |
|
5884 | 5884 | private: |
5885 | 5885 | using @\exposid{alloc-t}@ = // \expos |
|
5918 | 5918 | \effects |
5919 | 5919 | Equivalent to: |
5920 | 5920 | \begin{codeblock} |
5921 | | -if (@\exposid{assoc}) |
| 5921 | +if (@\exposid{assoc}@) |
5922 | 5922 | start(@\exposid{op}@); |
5923 | 5923 | else |
5924 | 5924 | @\exposid{complete}@(); |
|
7699 | 7699 | \item |
7700 | 7700 | a default constructed object of type \tcode{Assoc} is not engaged; |
7701 | 7701 | \item |
7702 | | -for an object assoc of type \tcode{Assoc}, |
| 7702 | +for an object \exposid{assoc} of type \tcode{Assoc}, |
7703 | 7703 | \tcode{static_cast<bool>(assoc)} is \tcode{true} |
7704 | 7704 | if and only if \tcode{assoc} is engaged; |
7705 | 7705 | \item |
|
7746 | 7746 | concept @\deflibconcept{scope_token}@ = |
7747 | 7747 | @\libconcept{copyable}@<Token> && |
7748 | 7748 | requires(const Token token) { |
7749 | | - { token.try_associate() } -> @\libconcept{scope_association}@<bool>; |
| 7749 | + { token.try_associate() } -> @\libconcept{scope_association}@; |
7750 | 7750 | { token.wrap(declval<@\placeholder{test-sender}@>()) } -> @\libconcept{sender_in}@<@\placeholder{test-env}@>; |
7751 | 7751 | }; |
7752 | 7752 | } |
|
7884 | 7884 | }; |
7885 | 7885 |
|
7886 | 7886 | template<class Scope> |
7887 | | - @\exposid{struct association-t}@; // \expos |
| 7887 | + struct @\exposid{association-t}@; // \expos |
7888 | 7888 | \end{codeblock} |
7889 | 7889 |
|
7890 | 7890 | \pnum |
|
7975 | 7975 | \tcode{assoc} is engaged when \tcode{assoc.\exposid{scope} != nullptr} is \tcode{true}, |
7976 | 7976 | \item |
7977 | 7977 | if \tcode{assoc} is engaged, |
7978 | | -then \tcode{assoc.try_associate()} is equivalent to |
| 7978 | +then \tcode{assoc.\exposid{try_associate}()} is equivalent to |
7979 | 7979 | \tcode{assoc.scope->try-associate()}, and |
7980 | 7980 | \item |
7981 | 7981 | the association owned by \tcode{assoc} |
7982 | | -is released by invoking \tcode{assoc.scope->disassociate()}. |
| 7982 | +is released by invoking \tcode{assoc.scope->\exposid{disassociate}()}. |
7983 | 7983 | \end{itemize} |
7984 | 7984 |
|
7985 | 7985 | \rSec3[exec.scope.simple.counting]{Simple Counting Scope} |
|
8313 | 8313 | \pnum |
8314 | 8314 | \effects |
8315 | 8315 | If \exposid{count} is equal to \tcode{max_associations}, |
8316 | | -then no effects. Otherwise, if \exposid{state} is |
| 8316 | +then no effects. |
| 8317 | +Otherwise, if \exposid{state} is |
8317 | 8318 | \begin{itemize} |
8318 | 8319 | \item |
8319 | 8320 | \exposid{unused}, then increments \exposid{count} and |
|
0 commit comments