|
4590 | 4590 | \begin{itemdescr} |
4591 | 4591 | \pnum |
4592 | 4592 | \constraints |
4593 | | -copy_constructible<\exposid{wrap-sender}> is \tcode{true}. |
| 4593 | +\tcode{\libconcept{copy_constructible}<\exposid{wrap-sender}>} is \tcode{true}. |
4594 | 4594 |
|
4595 | 4595 | \pnum |
4596 | 4596 | \effects |
|
4616 | 4616 | \pnum |
4617 | 4617 | \effects |
4618 | 4618 | Initializes \exposid{sndr} with \tcode{std::move(other.\exposid{sndr})} and |
4619 | | -initializes \exposid{token} with \tcode{std::move(other.\linebreak{}\exposid{token})} and |
| 4619 | +initializes \exposid{token} with \tcode{std::move(other.\brk{}\exposid{token})} and |
4620 | 4620 | then calls \tcode{other.\exposid{sndr}.reset()}. |
4621 | 4621 | \end{itemdescr} |
4622 | 4622 |
|
|
4808 | 4808 | Otherwise, |
4809 | 4809 | if \tcode{remove_cvref_t<decltype((token))>} models |
4810 | 4810 | \libconcept{unstoppable_token} then |
4811 | | -\tcode{\exposid{stop-when}(\linebreak{}sndr, token)} is expression-equivalent to |
| 4811 | +\tcode{\exposid{stop-when}(\brk{}sndr, token)} is expression-equivalent to |
4812 | 4812 | \tcode{sndr}. |
4813 | 4813 |
|
4814 | 4814 | \item |
|
4831 | 4831 | are equivalent to |
4832 | 4832 | \tcode{connect(write_env(sndr, prop(get_stop_token, stoken)), r)} |
4833 | 4833 | where \tcode{stoken} is an object of |
4834 | | -an exposition-only type \placeholder{stoken-t} such that: |
| 4834 | +an exposition-only type \exposid{stoken-t} such that: |
4835 | 4835 | \begin{itemize} |
4836 | 4836 | \item |
4837 | | - \placeholder{stoken-t} models \libconcept{stoppable_token}; |
| 4837 | + \exposid{stoken-t} models \libconcept{stoppable_token}; |
4838 | 4838 | \item |
4839 | 4839 | \tcode{stoken.stop_requested()} returns |
4840 | 4840 | \tcode{token.stop_requested() || rtoken.stop_reques-\linebreak{}ted()}; |
|
4846 | 4846 | \tcode{\libconcept{invocable}<Fn>} and |
4847 | 4847 | \tcode{\libconcept{constructible_from}<Fn, Init>} |
4848 | 4848 | are modeled, |
4849 | | - \tcode{\placeholder{stoken-t}::callback_type<Fn>} models |
| 4849 | + \tcode{\exposid{stoken-t}::callback_type<Fn>} models |
4850 | 4850 | \tcode{\exposconcept{stoppable-callback-for}<Fn, \exposid{sto\-ken-t}, Init>}. |
4851 | 4851 | \begin{tailnote} |
4852 | 4852 | For an object \tcode{fn} of type \tcode{Fn} |
4853 | 4853 | constructed from a value, \tcode{init}, of type \tcode{Init}, |
4854 | 4854 | registering \tcode{fn} using |
4855 | | - \tcode{\placeholder{stoken-t}::callback_type<Fn>(stoken, init)} |
| 4855 | + \tcode{\exposid{stoken-t}::callback_type<Fn>(stoken, init)} |
4856 | 4856 | results in an invocation of \tcode{fn} when |
4857 | 4857 | a callback registered with \tcode{token} or \tcode{rtoken} would be invoked. |
4858 | 4858 | \tcode{fn} is invoked at most once. |
|
4883 | 4883 | If any of |
4884 | 4884 | \tcode{\libconcept{sender}<Sndr>}, |
4885 | 4885 | \tcode{\libconcept{scope_token}<Token>}, or |
4886 | | -\tcode{queryable<Env>} |
| 4886 | +\tcode{\exposconcept{queryable}<Env>} |
4887 | 4887 | are not satisfied, |
4888 | 4888 | the expression \tcode{spawn_future(sndr, token, env)} is ill-formed. |
4889 | 4889 |
|
|
4909 | 4909 | Let \tcode{Sigs} be the pack of arguments to |
4910 | 4910 | the \tcode{completion_signatures} specialization provided as |
4911 | 4911 | a parameter to the \exposid{spawn-future-state-base} class template. |
4912 | | -Let \placeholder{as-tuple} be an alias template that |
| 4912 | +Let \exposid{as-tuple} be an alias template that |
4913 | 4913 | transforms a completion signature \tcode{Tag(Args...)} |
4914 | 4914 | into the tuple specialization \tcode{\exposid{decayed-tuple}<Tag, Args...>}. |
4915 | 4915 |
|
|
4981 | 4981 | Let \placeholder{ssource-t} be an unspecified type |
4982 | 4982 | that models \exposconcept{stoppable-source} and |
4983 | 4983 | let \tcode{ssource} be an lvalue of type \placeholder{ssource-t}. |
4984 | | -Let \placeholder{stoken-t} be \tcode{decltype(ssource.get_token())}. |
| 4984 | +Let \tcode{\placeholder{stoken-t}} be \tcode{decltype(ssource.get_token())}. |
4985 | 4985 | Let \exposid{future-spawned-sender} be the alias template: |
4986 | 4986 |
|
4987 | 4987 | \begin{codeblock} |
|
5199 | 5199 | \begin{itemize} |
5200 | 5200 | \item |
5201 | 5201 | Uses \tcode{alloc} to allocate and construct an object \tcode{s} of |
5202 | | -a type that is a specialization of \exposid{spawn-future-\linebreak{}state} |
| 5202 | +a type that is a specialization of \exposid{spawn-future-\brk{}state} |
5203 | 5203 | from \tcode{alloc}, \tcode{token.wrap(sndr)}, \tcode{token}, and \tcode{senv}. |
5204 | 5204 | If an exception is thrown then |
5205 | 5205 | any constructed objects are destroyed and |
|
5496 | 5496 | \tcode{\libconcept{scope_token}<Token>}, or |
5497 | 5497 | \tcode{\exposconcept{queryable}<Env>} |
5498 | 5498 | are not satisfied, |
5499 | | -the expression \tcode{spawn(\linebreak{}sndr, token, env)} is ill-formed. |
| 5499 | +the expression \tcode{spawn(\brk{}sndr, token, env)} is ill-formed. |
5500 | 5500 |
|
5501 | 5501 | \pnum |
5502 | 5502 | Let \exposid{spawn-state-base} be the exposition-only class: |
|
5658 | 5658 |
|
5659 | 5659 | \pnum |
5660 | 5660 | The expression \tcode{spawn(sndr, token)} is expression-equivalent to |
5661 | | -\tcode{spawn(sndr, token, execution::env<>(\linebreak{}))}. |
| 5661 | +\tcode{spawn(sndr, token, execution::env<>(\brk{}))}. |
5662 | 5662 |
|
5663 | 5663 | \rSec1[exec.util]{Sender/receiver utilities} |
5664 | 5664 |
|
|
6616 | 6616 | of objects of type \tcode{Token}; and |
6617 | 6617 |
|
6618 | 6618 | \item |
6619 | | -given an lvalue token of type (possibly const) \tcode{Token}, |
| 6619 | +given an lvalue \tcode{token} of type (possibly const) \tcode{Token}, |
6620 | 6620 | for all expressions \tcode{sndr} such that |
6621 | 6621 | \tcode{decltype((\linebreak{}sndr))} models \libconcept{sender}: |
6622 | 6622 | \begin{itemize} |
|
6842 | 6842 | \pnum |
6843 | 6843 | For purposes of determining the existence of a data race, |
6844 | 6844 | \tcode{get_token}, |
6845 | | -\tcode{close}, \tcode{join}, |
| 6845 | +\tcode{close}, |
| 6846 | +\tcode{join}, |
6846 | 6847 | \exposid{try-associate}, |
6847 | 6848 | \exposid{disassociate}, and |
6848 | 6849 | \exposid{start-join-sender} |
|
0 commit comments