Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1530: Move implementation to source file problem

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
leojay Posted - Jul 25 2006 : 01:42:20 AM
the Move implementation to source file cannot handle operator correctly.

for example, i have following code in stdafx.h:
class TESTA
{
public:
	int& operator[](int iIndex) {
		return data[iIndex];
	}
private:
	int data[1000];
};


after shift + right clicking on operator, and select Move Implementation To Source File,
the generated code in stdafx.cpp is:
int& * TESTA::[]( int iIndex ) 
{
	return data[iIndex];
}

the 'operator' is lost.
3   L A T E S T    R E P L I E S    (Newest First)
support Posted - Aug 12 2006 : 11:21:40 PM
Case 1967 is fixed in build 1532.
feline Posted - Aug 05 2006 : 5:03:32 PM
i have finally got my paws on the next build, for testing purposes, and the operator function is not fixed, so i have raised a new case for this.

case=1967
feline Posted - Jul 25 2006 : 7:23:51 PM
the related case of operator++ should be fixed in the next build. hopefully that fix will also fix this case.

case=1357

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