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
 Refactoring w/ Template member types broken
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

cbranch
Senior Member

USA
30 Posts

Posted - Jun 01 2007 :  11:34:27 AM  Show Profile  Reply with Quote
In both VAX 1555 and 1557 w/ VS2003

void foo()
{
std::list<int>::iterator i;
*i = 1;
}

Extract the line '*i = 1;' to a function.
This generates a function with control characters and messed up fonts in the text editor.

Colin Branch

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jun 01 2007 :  11:50:29 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=6017

If you call a function on the iterator in the extracted code then the new code is correct. This is something, but clearly does not help much in this case.

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

support
Whole Tomato Software

5566 Posts

Posted - Jul 07 2007 :  12:26:44 AM  Show Profile  Reply with Quote
case=6017 is fixed in Build 1559
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