Microsoft KB Archive/147632

= BUG: Browsing Template Function Definition Goes to Wrong Place =

PSS ID Number: 147632

Article Last Modified on 10/16/2002

-

The information in this article applies to:


 * Microsoft Visual C++ 4.0
 * Microsoft Visual C++ 4.1
 * Microsoft Visual C++, 32-bit Enterprise Edition 4.2
 * Microsoft Visual C++, 32-bit Enterprise Edition 5.0
 * Microsoft Visual C++, 32-bit Enterprise Edition 6.0
 * Microsoft Visual C++, 32-bit Professional Edition 4.2
 * Microsoft Visual C++, 32-bit Professional Edition 5.0
 * Microsoft Visual C++, 32-bit Professional Edition 6.0
 * Microsoft Visual C++, 32-bit Learning Edition 6.0
 * Microsoft Visual C++ .NET (2002)

-



This article was previously published under Q147632



SYMPTOMS
Using the shortcut key to jump to the definition of a template function places the cursor at the first use of the function (its instantiation).

No function definition for a template function appears in the browse Definitions and References dialog box, only function references.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
Press F12 (F11 using Visual C++ 2.0 key mapping) to jump to the definition of the function. Instead of going to the definition of the function, you will be taken back to the point where the function was instantiated (that is, the first place the function was used).

Press ALT+F12 (CTRL+F11 using Visual C++ 2.0 key mapping) or select Browse from the Tools menu. Type the name of your template function in the Browse window, select Definitions and References from the list, and click OK. You will see there is no entry in the Definitions and References box under Definitions.

Keywords: kbArtTypeINF kbbug kbide KB147632

Technology: kbAudDeveloper kbVC32bitSearch kbVC400 kbVC410 kbVC420 kbVC500 kbVC500Search kbVC600 kbVCNET kbVCsearch

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2003 Microsoft Corporation. All rights reserved.