Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 "Impl virtual Methods" for template inheritence
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

andre.horst
Tomato Guru

Germany
150 Posts

Posted - Aug 21 2012 :  03:47:45 AM  Show Profile  Reply with Quote
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]

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Aug 21 2012 :  11:38:09 PM  Show Profile  Reply with Quote
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?

zen is the art of being at one with the two'ness
Go to Top of Page

andre.horst
Tomato Guru

Germany
150 Posts

Posted - Aug 22 2012 :  02:23:13 AM  Show Profile  Reply with Quote
Wow! No, I was not. Thanks for the information.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Aug 22 2012 :  9:38:05 PM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000