thread
constructor non-variadicSection: 32.4.3.3 [thread.thread.constr] Status: NAD Submitter: Howard Hinnant Opened: 2009-07-18 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [thread.thread.constr].
View all issues with NAD status.
Discussion:
The variadic thread
constructor is causing controversy, e.g.
N2901.
This issue has been created as a placeholder for this course of action.
template <class F, class ...Args> thread(F&& f, Args&&... args);
See 929 for wording which specifies an rvalue-ref signature but with "decay behavior", but using variadics.
[ 2009-11-17 Moved to Tentatively NAD after 5 positive votes on c++std-lib. Rationale added below. ]
Proposed resolution:
Rationale:
The (tentative) concensus of the LWG is to keep the variadic thread constructor.