This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of New status.

4331. affine_on shape may be wrong

Section: 33.13.3 [exec.affine.on] Status: New Submitter: Dietmar Kühl Opened: 2025-08-31 Last modified: 2025-09-01

Priority: Not Prioritized

View other active issues in [exec.affine.on].

View all other issues in [exec.affine.on].

View all issues with New status.

Discussion:

affine_on is specified to take a sender and a scheduler as arguments. The scheduler is meant to match the scheduler obtained from the get_scheduler query on the receiver's environment. Thus, the scheduler argument is redundant and the semantics become weird if these two schedulers don't match. The affine_on algorithm should only take the sender as argument.

Proposed resolution: