Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Implement Interface on template classes

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
Luke1410 Posted - Feb 14 2011 : 09:58:32 AM
Just a small feature request to improve the usability of ImplementInterface

sample:

class A
{
   virtual void foo() = 0;
};

template<class T> class B : public A
{
};


Rightclick on A in "template<class T> class B : public A" and choose: Refactor -> Implement Interface -> virtual void foo()

The default implementation of "void foo()" is put into the cpp file.
Since class B is a template class, the implementation should actually be inlined in the header instead.
2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Mar 17 2011 : 11:44:57 PM
case=55139 is fixed in build 1845
feline Posted - Feb 14 2011 : 11:45:51 AM
I am seeing the same effect here. Thank you for the clear description.

case=55139

If you have a lot of code like this you may find VA Outline helpful for moving the implementations into the header file, since you can select several of them in VA Outline, cut them, and then paste them into the header file.

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