Bug 483048 - Navigation to forward declaration of a class template
Summary: Navigation to forward declaration of a class template
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-source-nav (show other bugs)
Version: Next   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 9.3.0   Edit
Assignee: Nathan Ridge CLA
QA Contact: Markus Schorn CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-25 16:08 EST by Nathan Ridge CLA
Modified: 2017-01-02 01:55 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Ridge CLA 2015-11-25 16:08:19 EST
None of CDT's current navigation mechanisms allow you to navigate to the forward declaration of a class template from its definition or a use.

Default arguments for template parameters are often specified only at the forward declaration, so it's useful to be able to navigate to it.
Comment 1 Nathan Ridge CLA 2016-12-07 23:04:44 EST
It looks like not navigating from a class definition to a class forward declaration, was a deliberate choice.

However, for class template it's useful (due to default arguments, as mentioned), so I believe we should allow it.
Comment 2 Eclipse Genie CLA 2016-12-07 23:05:23 EST
New Gerrit change created: https://git.eclipse.org/r/86686
Comment 4 Nathan Ridge CLA 2016-12-14 12:38:52 EST
Fixed for 9.3.