Internal compiler error when using argument-dependent lookup on std::make_pair - by D. Golub

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 808089 Comments
Status Closed Workarounds
Type Bug Repros 1
Opened 11/8/2013 8:17:02 AM
Access Restriction Public


The following code produces an internal compiler error when compiled with Visual Studio 2013:

#include <string>

int main()
  make_pair(std::string(), make_pair(0, 0)));
  return 0;
Sign in to post a comment.
Posted by Xiang [MSFT] on 12/18/2013 at 5:09 PM
    Thanks for reporting the issue.
    A fix for this issue has been checked into the compiler sources. The fix should show up in the next major release of Visual C++.
    Note that the code is ill-formed. Only the first 'make_pair' can be found using ADL.

Xiang Fan
Visual C++ Team
Posted by Microsoft on 11/10/2013 at 10:42 PM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by Macy [MSFT] on 11/8/2013 at 8:51 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(