Visual Studio and .NET Framework Home
Thank you for your feedback!
Visual C++: Ill-Formed unique_ptr Function Call Syntax
- by Timothy003
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.
12/29/2010 11:32:35 PM
The std::unique_ptr class can be called like a function.
ATTACH A FILE
EDIT THIS ITEM
Item can only be reassigned when it is active.
to post a comment.
Please enter a comment.
on 1/27/2011 at 3:09 PM
Thanks for reporting this bug. We've fixed it, and the fix will be available in VC11. unique_ptr derives from empty deleters in order to take advantage of the Empty Base Class Optimization; we now use private inheritance to prevent the empty deleter's function call operator from being accessible to users of unique_ptr.
If you have any further questions, feel free to E-mail me at email@example.com .
Stephan T. Lavavej
Visual C++ Libraries Developer
on 12/30/2010 at 1:20 AM
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 12/29/2010 at 11:35 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)
to post a workaround.
Please enter a workaround.
Attach a file
© 2015 Microsoft