- 
                Notifications
    
You must be signed in to change notification settings  - Fork 5
 
Open
Description
[exec.when.all]/p5 reads as follows:
Let
make-when-all-envbe the following exposition-only function template:template<class Env> constexpr auto make-when-all-env(inplace_stop_source& stop_src, // exposition only Env&& env) noexcept { return see below; }Returns an object
esuch that
(5.1)
decltype(e)modelsqueryable, and(5.2)
e.query(get_stop_token)is expression-equivalent to
state.stop-src.get_token(), and(5.3) given a query object
qwith type other thancvstop_token_tand whose
type satisfiesforwarding-query,e.query(q)is expression-equivalent to
get_env(rcvr).query(q).
The problem is with "state.stop-src.get_token()" in bullet (5.2). There is no state object here. This expression should be stop_src.get_token().
Proposed resolution
In [exec.when.all] paragraph 5 bullet (5.2), change state.stop-src.get_token() to stop_src.get_token().
Metadata
Metadata
Assignees
Labels
No labels