File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 67586758where \tcode {A} is the type of the expression above.
67596759\item
67606760Otherwise, \tcode {(void(p), expr)}
6761- if \tcode {\exposconcept {is-awaitable}<Expr, U>} is \tcode {true},
6762- where \tcode {U} is an unspecified class type
6763- that is not \tcode {Promise} and
6764- that lacks a member named \tcode {await_transform}.
6765-
6766- \expects
6767- \tcode {\exposconcept {is-awaitable}<Expr, Promise>} is \tcode {true} and
6768- the expression \tcode {co_await expr}
6769- in a coroutine with promise type \tcode {U} is expression-equivalent to
6770- the same expression in a coroutine with promise type \tcode {Promise}.
6761+ if \tcode {decltype(\exposid {GET-AWAITER}(expr))}
6762+ satisfies \tcode {\exposconcept {is-awaiter}<Promise>}.
67716763\item
67726764Otherwise, \tcode {\exposid {sender-awaitable}\{ \exposid {adapted-expr}, p\} }
67736765if
You can’t perform that action at this time.
0 commit comments