2941. §[thread.req.timing] wording should apply to both member and namespace-level functions

Section: 33.2.4 [thread.req.timing] Status: WP Submitter: Jonathan Mcdougall Opened: 2017-03-07 Last modified: 2017-11-13

Priority: 0

View all other issues in [thread.req.timing].

View all issues with WP status.

Discussion:

In 33.2.4 [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).

[2017-07 Toronto Wed Issue Prioritization]

Priority 0; Move to Ready

Proposed resolution:

This wording is relative to N4640.

  1. Modify 33.2.4 [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. […]