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
 Create from usage's method protection
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

lac
Senior Member

30 Posts

Posted - Apr 04 2014 :  06:58:04 AM  Show Profile  Reply with Quote
I would like 'Create from usage' to put the method declaration in a more sensible location in the class declaration. It seems to always put it after that last declared functino, which happens to be the private section for me, although I'm creating the method from a place where it would need to be public, e.g. when access through an variable and not via 'this'.


   fooPointer->someMethod();
                    ^


Create from usage one someMethod() puts the declaration void someMethod() in the private parts of class Foo. It most likely needs to go in the public section when accessed via a variable like this.

Edited by - lac on Apr 04 2014 06:58:42 AM

accord
Whole Tomato Software

United Kingdom
3124 Posts

Posted - Apr 04 2014 :  09:46:01 AM  Show Profile  Reply with Quote
We are considering to improve this at some point:

case=29902

The case is about create from usage to respect private/public in C++.
Go to Top of Page

sean
Whole Tomato Software

USA
2507 Posts

Posted - Mar 16 2016 :  12:04:24 AM  Show Profile  Reply with Quote
case=29902 is fixed in build 2093
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2018 Whole Tomato Software, Inc Go To Top Of Page
Snitz Forums 2000