Created on 2025-02-04.00:00:00 last changed 2 months ago
Proposed resolution:
This wording is relative to N5001.
-13- Let `sndr` and `env` be subexpressions, and let `Sndr` be `decltype((sndr))`. Ifsender-for<Sndr, decayed-typeof<let-cpo>>
isfalse
, then the expressionlet-cpo.transform_env(sndr, env)
is ill-formed. Otherwise, it is equal toJOIN-ENV(let-env(sndr), FWD-ENV(env))
.auto& [_, _, child] = sndr; return JOIN-ENV(let-env(child), FWD-ENV(env));
[ Hagenberg 2025-02-11; move to Ready ]
[ 2025-02-07; Reflector poll ]
Set priority to 1 after reflector poll.
"We seem to be missing a guarantee that `auto [_,_,child] = sndr;` works. We guarantee that it can be used in a structured binding, but not that it must work with a size of three."
Imported from cplusplus/sender-receiver #319.
[exec.let] para 13 reads:
13. Let `sndr` and `env` be subexpressions, and let `Sndr` be `decltype((sndr))`. IfThe sender passed to `let-env` here should be the child of `sndr`.sender-for<Sndr, decayed-typeof<let-cpo>>
isfalse
, then the expressionlet-cpo.transform_env(sndr, env)
is ill-formed. Otherwise, it is equal toJOIN-ENV(let-env(sndr), FWD-ENV(env))
.
History | |||
---|---|---|---|
Date | User | Action | Args |
2025-02-11 17:35:18 | admin | set | messages: + msg14635 |
2025-02-11 17:35:18 | admin | set | status: new -> ready |
2025-02-07 22:17:52 | admin | set | messages: + msg14613 |
2025-02-04 22:20:22 | admin | set | messages: + msg14573 |
2025-02-04 00:00:00 | admin | create |