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
 1530: Move implementation to source file problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

leojay
New Member

5 Posts

Posted - Jul 25 2006 :  01:42:20 AM  Show Profile  Reply with Quote
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.

Edited by - leojay on Jul 25 2006 01:44:02 AM

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Jul 25 2006 :  7:23:51 PM  Show Profile  Reply with Quote
the related case of operator++ should be fixed in the next build. hopefully that fix will also fix this case.

case=1357

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

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Aug 05 2006 :  5:03:32 PM  Show Profile  Reply with Quote
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

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

support
Whole Tomato Software

5566 Posts

Posted - Aug 12 2006 :  11:21:40 PM  Show Profile  Reply with Quote
Case 1967 is fixed in build 1532.
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