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. Makethread
constructor non-variadic
Section: 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 other active issues in [thread.thread.constr].
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(i) 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.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4