Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VAX 1524: refactoring: Move impl. - operators

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
Uniwares Posted - Jun 21 2006 : 5:39:07 PM
Once more: operators

Using "Move Implementation" on operators leaves out the "operator" keyword.
(and in one case it also added a */ without reason)
code to test:
	class xyz
{
  bool operator==(const iterator& _Right) const
  {	// test for iterator equality
    return (_it == _Right._it);
  }
}


will produce after "Move":
bool xyz::iterator::==(const iterator& _Right*/) const
{
	// test for iterator equality
	return (_it == _Right._it);
}
1   L A T E S T    R E P L I E S    (Newest First)
jpizzi Posted - Jun 22 2006 : 12:58:38 AM
This one already flagged: http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=4780

case=1357

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