Can't assign std::function with member function - by Rob Walker

Status : 

 


6
0
Sign in
to vote
ID 759806 Comments
Status Closed Workarounds
Type Bug Repros 2
Opened 8/27/2012 10:29:31 AM
Access Restriction Public

Description

Unable to assign a member function directly to a std::function

See discussion on StackOverflow: 
http://stackoverflow.com/questions/12145035/stdfunction-bound-to-member-function/12145352#12145352
Sign in to post a comment.
Posted by Microsoft on 1/24/2013 at 4:06 PM
Hi,

Thanks for reporting this bug. I've resolved it as a duplicate of http://connect.microsoft.com/VisualStudio/feedback/details/694400 , after verifying that your test case is exactly identical to one of the test cases that I've attached to that bug.

I can't promise a timeframe for a fix, but I'm planning to investigate this after we rewrite <functional> with real variadic templates (the "faux variadic" preprocessor machinery is incredibly difficult to understand and modify).

Note: Connect doesn't notify me about comments. If you have any further questions, please E-mail me.

Stephan T. Lavavej
Senior Developer - Visual C++ Libraries
stl@microsoft.com
Posted by apostasia on 12/6/2012 at 7:33 AM
duplicate here: https://connect.microsoft.com/VisualStudio/feedback/details/694400/std-fu
Posted by Microsoft on 8/27/2012 at 10:03 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 8/27/2012 at 11:52 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)