Opened 11 years ago

Last modified 10 years ago

#6270 closed Feature Requests

c++11 compliance: Add thread constructor from movable callable and movable arguments — at Version 3

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

Description (last modified by viboes)

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

Change History (3)

comment:1 by viboes, 11 years ago

Bad copy-paste :(

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

comment:2 by viboes, 11 years ago

Summary: c++11 complicance: Add thread constructor from movable callable and movable argumentsc++11 compliance: Add thread constructor from movable callable and movable arguments

comment:3 by viboes, 11 years ago

Description: modified (diff)
Owner: changed from Anthony Williams to viboes
Status: newassigned
Note: See TracTickets for help on using tickets.