Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 "Impl virtual Methods" for template inheritence

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 - Aug 21 2012 : 03:47:45 AM
Refactoring "Implement virtual Methods..." should work for template inheritence. Consider the following example

template< class T > class CFoo
: public T
{
public:
	virtual void FooBar( void ) = 0 ;
} ;

class CInterface
{
public:
	virtual void Method( void ) = 0 ;
} ;

class CBar : public CF[1]oo< CInter[2]face >
{
public:
} ;


Placing cursor on [1] offers "FooBar" to implement. Placing cursor on [2] offers nothing to implement, but should offer at least "Method". But tbh "Method" should also be offered if cursor placed on [1]
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Aug 22 2012 : 9:38:05 PM
I am glad I was able to help This is a little unexpected, but it is very useful that the bug does not effect the entire line.
andre.horst Posted - Aug 22 2012 : 02:23:13 AM
Wow! No, I was not. Thanks for the information.
feline Posted - Aug 21 2012 : 11:38:09 PM
I am seeing the same effect here. Thank you for the clear description.

case=56625

Are you aware that if you place the caret into "CBar" on the line with [1] and [2] that VA offers both methods when you trigger Implement Virtual Methods?

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