Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Create from usage's method protection

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
lac Posted - Apr 04 2014 : 06:58:04 AM
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.
2   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Mar 16 2016 : 12:04:24 AM
case=29902 is fixed in build 2093
accord Posted - Apr 04 2014 : 09:46:01 AM
We are considering to improve this at some point:

case=29902

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

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