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
 find ref NOT work with templates some situation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

lance
New Member

4 Posts

Posted - Feb 20 2009 :  11:40:59 AM  Show Profile  Reply with Quote
find references of a template doesn't work in following situation:
namespace LSP{
int MyMacroMethod(int a);
}
#define MyMacro(a) MyMacroMethod(a)

---
a.cpp
namespace LSP {
int blah = MyMacro(a); /// this is found

int blah2 = LSP::MyMacro(a); /// this is NOT found
}

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Feb 20 2009 :  5:27:51 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=24219
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