File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 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
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\rSec 3[task.state]{\tcode {Class template \tcode {task::state}}}
You can’t perform that action at this time.
0 commit comments