Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Goto declaration: Feature request or Bug report

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
n/a Posted - Apr 17 2007 : 2:29:55 PM
Hello,
I use Visual Assist for C++ and I like all the symbol features that has the product but it lacks of template support.
I use a lot of templates and Visual Assist fails to go to the defined symbols.
The most common situation where Visual Assist fails is when I use smart pointers where the ., * and -> operators are overloaded. For example:

class Test : public xxxx {
public:
void fc1();
void fc2();
};


template <class T> class SmartPtr
{
public:
...

T *operator->()
{
assert(_ptr != NULL);
return _ptr;
}

private:
T *_ptr;
};

typedef SmartPtr<Test> TestPtr


TestPtr t = GetTestPointer();
t->fc1();


In this example VA cannot solve fc1.

If templates cannot be supported I suggest to try to solve fc1 and list all the matches in all the objects. You can improve this workaround adding hit information in each one related to the left object so you can list first the match that has more hits.

Regards,
Pablo


2   L A T E S T    R E P L I E S    (Newest First)
n/a Posted - Apr 18 2007 : 10:24:32 AM
I've tested and it's working. It works in the situation I've described before. I'll report if I found any bug.
Great improvement!

Thanks
Pablo
feline Posted - Apr 18 2007 : 09:02:49 AM
Can you please try upgrading to VA 1553 to see if this makes any difference:

direct download link:
http://www.wholetomato.com/downloads/VA_X_Setup1553.exe

For me this test works correctly.

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