Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Rename on template specialization disabled

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
joracine Posted - Sep 30 2009 : 12:55:47 PM
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).
2   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Oct 02 2009 : 2:54:01 PM
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.
joracine Posted - Sep 30 2009 : 12:56:54 PM
Might be a side effect of case 1140.

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