Search

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

Closed
as Fixed Help for as Fixed

1
0
Sign in
to vote
Type: Bug
ID: 705089
Opened: 11/17/2011 8:02:07 AM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
0
Workaround(s)
0
User(s) can reproduce this bug
This does not compile:

#include <atomic>

void test()
{
    std::atomic<int> i = 0;
}
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling version

Visual Studio 11 Developer Preview

Steps to reproduce

Compile this C++ program:

#include <atomic>

void test()
{
    std::atomic<int> i = 0;
}

Product Language

English

Operating System

Windows 7

Operating System Language

English

Actual results

compiler error

Expected results

successful compilation
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft 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)
Sign in to post a workaround.