C++ std::atomic<> missing constructor - by NoMore

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.


1
0
Sign in
to vote
ID 705089 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 11/17/2011 8:02:07 AM
Access Restriction Public
Moderator Decision Sent to Engineering Team for consideration

Description

This does not compile:

#include <atomic>

void test()
{
    std::atomic<int> i = 0;
}
Sign in to post a comment.
Posted by Stephan [MSFT] on 11/18/2011 at 12:24 PM
Hi,

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

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

Stephan T. Lavavej
Visual C++ Libraries Developer
Posted by MS-Moderator08 [Feedback Moderator] on 11/17/2011 at 6:46 PM
Thank you for submitting feedback on Visual Studio 2010 and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by MS-Moderator01 on 11/17/2011 at 6:24 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)