Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Refactor: "Create Implementation" and "override"

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
mbobka Posted - Jun 29 2006 : 04:06:56 AM
It's for plain C++ in VS2005.

class CBA {
public:
	virtual void FunctionA();
};
class ABC: public CBA {
public:
	void FunctionA() override;
};


If I try to "Create Implementation" of "FunctionA", sometimes I get implemetation like:

ABC::FunctionA() 
{
}

or like this:

void ABC::FunctionA() override
{
}
5   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 02 2006 : 1:53:57 PM
hopefully it is fixed then. if you get this again any help in finding a reproducible case will be appreciated.
mbobka Posted - Jul 02 2006 : 05:57:51 AM
I think, "override" was placed in .cpp in earler versions of VAX... Currently, I can't reproduce it
feline Posted - Jul 01 2006 : 4:33:24 PM
*ah*, and that page got me to:

http://msdn2.microsoft.com/en-us/library/z8ew2153.aspx

i did go looking in google, but did not get anywhere useful. most helpful, thank you, i can see these being bookmarked for future reference.

mbobka can you provide any clues as to when you get override placed in the cpp file? i have tried several tests of this, and i cannot reproduce this.
bugfix Posted - Jul 01 2006 : 12:44:40 PM
There you go:)
http://msdn2.microsoft.com/en-us/library/xey702bw.aspx
feline Posted - Jul 01 2006 : 12:07:08 PM
i suspect that VA is confused by the word "override", i know i am.

using VS2003 the two classes, given empty inline bodies do not compile, but the same code compiles quite happily in VS2005, using a C++ console project in both cases.

do you have any information on what this word is? help in VS2005 just took me to a .NET class, which is not a lot of use.

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