Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Create Implementation of operator/virtual method

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
andre.horst Posted - Apr 29 2008 : 02:27:38 AM
VAX cannot identify overloaded operators or cast-operators, thus it cannot create a implementation/declaration or move the implementation to a source file. Would be nice to have
If i copied () the declaration of pure virtual method like "virtual void f()=0;" to a implementation class header and use the "Create Implementation" function of vax i get the following:

void CSBSDataAccessLayer::f() /*=0
{

}

and in the header the "=0" still remains. Would be nice if this feature works properly. By the way, i posted and read from others a "Create Implementation from Base" feature, where the pure virtual methods will be taken over into the sub-class...Still waiting for such a feature...
3   L A T E S T    R E P L I E S    (Newest First)
support Posted - Jan 24 2011 : 4:04:03 PM
case=1505 is implemented in build 1840
support Posted - Jan 27 2009 : 9:19:48 PM
case=6439 is fixed in build 1715
feline Posted - Apr 29 2008 : 09:19:57 AM
Create Implementation producing invalid code for a pure virtual function is a known problem:

case=6439

and it is on our list of things to fix. VA does not remove the "= 0", this is by design. Sometimes you want to have an implementation for a pure virtual function. I have done this myself, it is useful when this implementation is the default implementation for the function, which you then manually call if it is appropriate.

For overloaded operators, trigger the refactoring on the "operator" keyword. This works for me.

We are looking to add support for overloaded functions, but I am not sure when this will happen.

Creating bodies for virtual functions in the base class, this is something we are considering doing:

case=1505

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