Home Dashboard Directory Help

[VC10] Compiler refers to std::shared_ptr as std::tr1::shared_ptr by SecurityException



Sign in
to vote
Type: Bug
ID: 569997
Opened: 6/23/2010 8:54:00 AM
Access Restriction: Public
User(s) can reproduce this bug


The compiler refers to the std::shared_ptr as std::tr1::shared_ptr, which is ugly. std::shared_ptr is the actual part of the new C++ standard, so it should also appear as such.

Most likely, you re-use the implementation of the previous std::tr1::shared_ptr. It would be nicer to have std::shared_ptr provide the implementation and re-use that code for std::tr1::shared_ptr.
Sign in to post a comment.
Posted by Microsoft on 10/31/2010 at 12:02 AM

Thanks for reporting this bug. We've fixed it, and the fix will be available in VC11. Now, shared_ptr and other originally-from-TR1 components will be defined in namespace std and dragged into namespace std::tr1 with using-declarations.

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 Microsoft on 6/23/2010 at 10:38 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 Microsoft on 6/23/2010 at 5:02 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.