File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 6467
6467
\pnum
6468
6468
The expression \tcode {\exposid {promise}.get_return_object()} is used
6469
6469
to initialize
6470
- the glvalue result or prvalue result object of a call to a coroutine.
6470
+ the returned reference or prvalue result object of a call to a coroutine.
6471
6471
The call to \tcode {get_return_object}
6472
6472
is sequenced before
6473
6473
the call to \tcode {initial_suspend}
Original file line number Diff line number Diff line change 815
815
in a function whose return type is not \cv {}~\keyword {void};
816
816
\indextext {conversion!return type}%
817
817
the \tcode {return} statement initializes the
818
- glvalue result or prvalue result object of the (explicit or implicit) function call
818
+ returned reference or prvalue result object
819
+ of the (explicit or implicit) function call
819
820
by copy-initialization\iref {dcl.init } from the operand.
820
821
\begin {note }
821
822
A \tcode {return} statement can involve
You can’t perform that action at this time.
0 commit comments