std::reference_wrapper fails to wrap reference to object of abstract class - by Alf P. Steinbach, except MS doesn't accept it

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.

Sign in
to vote
ID 727368 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 2/29/2012 3:53:28 PM
Access Restriction Public


std::reference_wrapper fails to wrap reference to object of abstract class.
it oes not compile.
the std lib code attempts to instantiate the class.
Sign in to post a comment.
Posted by Microsoft on 4/29/2014 at 12:24 PM
Thank you for reporting this issue. This issue has been fixed in Visual Studio 2013. You can install a trial version of Visual Studio 2013 with the fix from:
Posted by Microsoft on 3/1/2012 at 7:04 PM

Thanks for reporting this bug. We've already fixed it, and the fix will be available in VC11 RTM. (However, the fix didn't get into the VC11 Beta.)

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

Stephan T. Lavavej
Visual C++ Libraries Developer
Posted by EricLeong [Feedback Moderator] on 2/29/2012 at 7:10 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 review. We will contact you if we require any additional information.
Posted by MS-Moderator01 on 2/29/2012 at 6:41 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(