Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Fully Qualified Enum usage not found

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Emiel Posted - Oct 10 2013 : 04:54:58 AM
Given the following definition

class CMyClass 
{
public:
    enum ETest
    {
        DISABLED,
        ENABLED
    };

And the following usage

CMyClass::ETest Test = CMyClass::ETest::DISABLED;

in version 1940, "Find References" (and "Rename") cannot find the usage from the definition or vice versa. From usage other uses are found though, and "Go To Implementation" also works fine.

This seems liike a minor bug.
4   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Nov 18 2013 : 3:07:49 PM
case=77550 is fixed in build 2007
Emiel Posted - Oct 11 2013 : 01:04:26 AM
Thanks, I'm aware of the workaround.
However, we decided to use fully qualified enum values for clarity in our code, so we'll rather wait for the fix.
accord Posted - Oct 10 2013 : 3:06:48 PM
The workaround is to use the newer format: CMyClass::DISABLED which VA find references does find.
accord Posted - Oct 10 2013 : 3:05:27 PM
I am seeing the same effect here. Thank you for the clear description.

case=77550

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000