feline
Whole Tomato Software
    
United Kingdom
19114 Posts |
Posted - Oct 22 2013 : 1:38:31 PM
|
VA tries to work out where the new method should go from context, and if it cannot tell for sure, it will ask in the dialog.
So if you are calling the method on a class member variable, VA knows the new method has to be a class member. If you are calling the method from within a free function, one that is not a member of any class, then VA makes a free function.
But if you call the method from within a class method then VA asks what you want, since it could be either a member of the current class, or a free function.
Does this make sense, and does it match what you are seeing in your code? |
zen is the art of being at one with the two'ness |
 |
|