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.

4145. Unclear how [res.on.data.races] apply to templated functions

Section: 16.4.6.10 [res.on.data.races] Status: New Submitter: Tim Song Opened: 2024-08-22 Last modified: 2024-10-02

Priority: 3

View other active issues in [res.on.data.races].

View all other issues in [res.on.data.races].

View all issues with New status.

Discussion:

It's unclear how 16.4.6.10 [res.on.data.races] applies to templated functions that invoke user-supplied operations. In particular, there's no way to meet those requirements when a user-supplied operation can perform arbitrary operations.

Perhaps we need to exclude the invocation of such operations from the scope of the requirements.

[2024-10-02; Reflector poll]

Set priority to 3 after reflector poll.

Proposed resolution: