Re: [Boost-bugs] [Boost C++ Libraries] #6270: c++11 compliance: Add thread constructor from movable callable and movable arguments

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6270: c++11 compliance: Add thread constructor from movable callable and movable arguments
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-04-08 22:20:13


#6270: c++11 compliance: Add thread constructor from movable callable and movable
arguments
-------------------------------+--------------------------------------------
  Reporter: viboes | Owner: viboes
      Type: Feature Requests | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Changes (by viboes):

  * owner: anthonyw => viboes
  * status: new => assigned


Old description:

> In order to be standard compliant the thread destructor should call
> terminate if joinable instead of detaching the thread.
>
> "30.3.1.2 thread constructors [thread.thread.constr]
>
> template <class F, class ...Args> explicit thread(F&& f, Args&&... args);
>
> Requires: F and each Ti in Args shall satisfy the MoveConstructible
> requirements."

New description:

 In order to be standard compliant the thread constructor should accept
 MovableConstructible parameters.

 "30.3.1.2 thread constructors [thread.thread.constr]

 template <class F, class ...Args> explicit thread(F&& f, Args&&... args);

 Requires: F and each Ti in Args shall satisfy the MoveConstructible
 requirements."

--
-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6270#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC