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

1176. Make thread constructor non-variadic

Section: [thread.thread.constr] Status: NAD Submitter: Howard Hinnant Opened: 2009-07-18 Last modified: 2017-02-03

Priority: Not Prioritized

View all other issues in [thread.thread.constr].

View all issues with NAD status.


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:


The (tentative) concensus of the LWG is to keep the variadic thread constructor.