Skip to content

Commit df1f3f3

Browse files
committed
[task.members] Change template parameter name from "R" to "Rcvr".
This makes it the same as in the header synopsis.
1 parent a26b3d7 commit df1f3f3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

source/exec.tex

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7282,8 +7282,8 @@
72827282

72837283
\indexlibrarymember{connect}{task}%
72847284
\begin{itemdecl}
7285-
template<@\libconcept{receiver}@ R>
7286-
@\exposid{state}@<R> connect(R&& recv);
7285+
template<@\libconcept{receiver}@ Rcvr>
7286+
@\exposid{state}@<Rcvr> connect(Rcvr&& recv);
72877287
\end{itemdecl}
72887288
\begin{itemdescr}
72897289
\pnum
@@ -7292,8 +7292,10 @@
72927292

72937293
\pnum
72947294
\effects
7295-
Equivalent to: \tcode{return \exposid{state}<R>(exchange(\exposid{handle},
7296-
\{\}), std::forward<R>(recv));}
7295+
Equivalent to:
7296+
\begin{codeblock}
7297+
return @\exposid{state}@<Rcvr>(exchange(@\exposid{handle}@, {}), std::forward<Rcvr>(recv));
7298+
\end{codeblock}
72977299
\end{itemdescr}
72987300

72997301
\rSec3[task.state]{\tcode{Class template \tcode{task::state}}}

0 commit comments

Comments
 (0)