Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1554: Create Implementation fails for overloads

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
swinefeaster Posted - May 11 2007 : 1:28:22 PM
Cannot use CreateImplementation for functions such as:


    operator DWORD(void)const;
    bool operator<(const ModelUniqueID& o) const;
    bool operator==(const ModelUniqueID& o) const;
    bool operator!=(const ModelUniqueID& o) const;
    ModelUniqueID& operator=(const ObjectId& o);
5   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jun 11 2007 : 07:45:51 AM
I have just tested the 5 operators you posted here, and placing the caret into the keyword "operator" gets VA to offer and run Create Implementation on all of them. I am using VS2005 and VA 1557.
feline Posted - Jun 08 2007 : 1:19:04 PM
The rule should be the same as for normal functions, place the caret inside the function name. For operator overloaded inside the word "operator" normally works well for me.

Are you having problems with any particular overloaded operator?
swinefeaster Posted - Jun 08 2007 : 1:07:02 PM
this works now, but it is very sensitive as to where you put the cursor in the func declaration. can we make it work regardless of where you put the cursor on that statement?

thanks
swinefeaster Posted - May 14 2007 : 6:05:09 PM
ok sounds good! thanks
feline Posted - May 11 2007 : 3:33:11 PM
This is unfortunately by design in 1555. We ran into some bugs with refactoring and overloaded operator functions, and until we have resolved the problems (generating bad code) we have disabled most refactoring on these functions.

We are aiming to get at least some of this sorted out soon.

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