Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Refactoring w/ Template member types broken

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
cbranch Posted - Jun 01 2007 : 11:34:27 AM
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.
2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Jul 07 2007 : 12:26:44 AM
case=6017 is fixed in Build 1559
feline Posted - Jun 01 2007 : 11:50:29 AM
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.

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