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
 Is this a bug?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

smacl
New Member

6 Posts

Posted - Jan 26 2011 :  04:41:15 AM  Show Profile  Reply with Quote
I have two C++ functions with similar signatures declared as follows;

void LogError(ErrorLevel elvl,LPCTSTR Format,...);
void LogError(ErrorLevel elvl,UINT ResourceID,...);

Using Refactor / Find references with either of these functions in either a header or cpp file returns all instances of both functions. Surely VA should differentiate between the two?

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Jan 26 2011 :  11:21:15 AM  Show Profile  Reply with Quote
Currently this is a known limitation of VA, but it is one we are looking into:

case=2732

In general, in C++, it can be quite difficult for VA to work out which overload is being called.

zen is the art of being at one with the two'ness
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