Packaged task & thread compile error bug - by Petke Himself

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 736924 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 4/14/2012 9:30:12 AM
Access Restriction Public



The author of Just:thread posts some sample code that fails to compile when using the vs2011 standard library alternatives.

Sign in to post a comment.
Posted by Microsoft on 5/7/2012 at 7:01 PM

Thanks for reporting this bug. We've fixed it, and the fix will be available in VC11 RTM.

Note that this is similar to (internally DevDiv#377755), which will still be broken in VC11 RTM. I've made a note to myself that when we get std::thread working with movable-only arguments, we should ensure that movable-only functors (the subject of your bug) continue to work.

If you have any further questions, feel free to E-mail me at .

Stephan T. Lavavej
Visual C++ Libraries Developer
Posted by Microsoft on 4/15/2012 at 10:23 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(
Posted by MS-Moderator07 [Feedback Moderator] on 4/15/2012 at 10:16 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.

Posted by Petke Himself on 4/15/2012 at 3:19 PM
I made a toy example and included the compile error here: