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
 Rename on template specialization disabled
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

joracine
Senior Member

36 Posts

Posted - Sep 30 2009 :  12:55:47 PM  Show Profile  Reply with Quote
Hello there,

When trying to rename a template argument for a specialized template, the reafactor-rename option is disabled (when the specialization is int he cpp file).

i.e.

template<>
void MyClass::SomeMethod<std::string>(int param)
{
}


You can't rename param (and it is not renamed if you change the template declaration either).

joracine
Senior Member

36 Posts

Posted - Sep 30 2009 :  12:56:54 PM  Show Profile  Reply with Quote
Might be a side effect of case 1140.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Oct 02 2009 :  2:54:01 PM  Show Profile  Reply with Quote
This is actually a separate problem, since VA is not letting me run Find References on "param" in this code. A sure sign that our parser is getting confused:

case=33109

Thank you for the clear example, it make it a lot easier to reproduce.

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