Title
§[thread.req.timing] wording should apply to both member and namespace-level functions
Status
c++20
Section
[thread.req.timing]
Submitter
Jonathan Mcdougall

Created on 2017-03-07.00:00:00 last changed 45 months ago

Messages

Date: 2017-07-15.22:58:07

Proposed resolution:

This wording is relative to N4640.

  1. Modify [thread.req.timing] as indicated::

    […]

    -3- The member functions whose names end in _for take an argument that specifies a duration. […]

    -4- The member functions whose names end in _until take an argument that specifies a time point. […]

Date: 2017-07-15.22:58:07

[ 2017-07 Toronto Wed Issue Prioritization ]

Priority 0; Move to Ready

Date: 2017-03-07.00:00:00

In [thread.req.timing], both /3 and /4 talk about "member functions whose names end in _for" and "_until", but these clauses also apply to this_thread::sleep_for() and this_thread::sleep_until(), which are namespace-level functions (30.3.2).

History
Date User Action Args
2021-02-25 10:48:01adminsetstatus: wp -> c++20
2017-11-13 19:01:36adminsetstatus: voting -> wp
2017-10-17 18:34:55adminsetstatus: ready -> voting
2017-07-15 22:58:07adminsetmessages: + msg9372
2017-07-15 22:58:07adminsetstatus: new -> ready
2017-03-07 19:52:27adminsetmessages: + msg9078
2017-03-07 00:00:00admincreate