Function pointer to templated function becomes that of non-templated function of the same name - by Lasse Reinhold

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.


1
0
Sign in
to vote
ID 748530 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 6/12/2012 3:38:58 AM
Access Restriction Public

Description

Function pointer to templated function of a class is set to non-templated version if declaration and association of the pointer are on two different source code lines.

Happens only if templated function is a class member.

NOTE: I *think* I have also seen the same behaviour on *calls* to the templated version too...
Sign in to post a comment.
Posted by Microsoft on 9/6/2012 at 4:04 PM
Hi Lasse:
    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++.
    If you see similar issue when call function template with explicit template argument, could you give us a repro?

Xiang Fan
Visual C++ Team
Posted by Microsoft on 6/13/2012 at 12:58 AM
Thank you for submitting feedback on Visual Studio 11 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 Microsoft on 6/12/2012 at 3:50 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)