Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Enum-GotoDefinition suggests forward declarations
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Kastenfrosch
Junior Member

10 Posts

Posted - Sep 05 2017 :  03:19:04 AM  Show Profile  Reply with Quote

enum class MyEnum : int
{
	MyValue = 0,
};

enum class MyEnum : int;


int main()
{
	MyEnum a;
}


When I use the GotoDefinition-Feature, i am shown two suggestions: The definition and the forward declaration.

When I do the same with a class, I directly jump to the definition, as all forward declarations are ignored.

Is it possible to get the same behaviour for Enums?

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 05 2017 :  05:04:37 AM  Show Profile  Reply with Quote
Thank you for bringing this to our attention:

case=110857

The two behaviour is definitely inconsistent. We're also planning to implement a goto that always goes directly to the implementation:

case=66885

Edited by - accord on Sep 05 2017 05:24:37 AM
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000