std::bind lack of qualifier on tie finds non-std::tie by ADL - by Lars Viklund

Status : 

 


4
0
Sign in
to vote
ID 792163 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 7/1/2013 3:43:21 PM
Access Restriction Public

Description

Storing a 'std::bind' result in a 'std::function' where an argument is of a type which can find a 'tie' function by ADL will fail to compile.
This can be fixed by explicitly qualifying the tie in 'functional' line 1091 with 'std::'.
Attached is a near-minimal reproduction test case.
Sign in to post a comment.
Posted by Microsoft on 4/29/2014 at 12:31 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: http://go.microsoft.com/?linkid=9832436
Posted by Microsoft on 7/9/2013 at 4:22 PM
Hi,

Thanks for reporting this bug. We've fixed it, and the fix will be available in VS 2013 RTM.

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 Microsoft on 7/1/2013 at 3:52 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)