Visual Studio and .NET Framework Home
Thank you for your feedback!
std::make_shared call error (c++)
- by moctob
This item has been fixed in the current or upcoming version of this product.
A more detailed explanation for the resolution of this particular item may have been provided in the comments section.
4/26/2012 6:53:15 AM
Sent to Engineering Team for consideration
Call to std::make_shared fails with C2664 compile time error.
ATTACH A FILE
EDIT THIS ITEM
Item can only be reassigned when it is active.
to post a comment.
Please enter a comment.
on 4/27/2012 at 9:54 PM
Thanks for reporting this bug. It has already been fixed, and the fix will be available in VC11 RTM.
I confirmed that this emits a compiler error with VC10 SP1, while it compiles successfully with my current build of VC11. Since make_shared<T>() is a plain vanilla perfect forwarder, and given the (bogus) text of the compiler error, I am certain that a compiler bug was responsible here, which has been fixed.
If you have any further questions, feel free to E-mail me at firstname.lastname@example.org .
Stephan T. Lavavej
Visual C++ Libraries Developer
[Feedback Moderator] on 4/26/2012 at 7:19 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.
on 4/26/2012 at 7:43 AM
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)
to post a workaround.
Please enter a workaround.
Attach a file
© 2015 Microsoft