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
 Feature Requests
 Goto declaration: Feature request or Bug report
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

n/a
deleted

3 Posts

Posted - Apr 17 2007 :  2:29:55 PM  Show Profile  Reply with Quote
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


feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Apr 18 2007 :  09:02:49 AM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page

n/a
deleted

3 Posts

Posted - Apr 18 2007 :  10:24:32 AM  Show Profile  Reply with Quote
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
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