Opened 11 years ago

Last modified 10 years ago

#6270 closed Feature Requests

c++11 complicance: Add thread constructor from movable callable and movable arguments — at Initial Version

Reported by: viboes Owned by: Anthony Williams
Milestone: Boost 1.53.0 Component: thread
Version: Boost 1.48.0 Severity: Problem
Keywords: Cc:

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."

Change History (0)

Note: See TracTickets for help on using tickets.