Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Refactoring - create constructor

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
Suma Posted - Jul 30 2013 : 07:59:50 AM
Often I write constructors which do only member wise initialization from parameters. Would it be possible to have refactorization for this?

class A
{
TypeX x;
TypeY y;
};

Refactorization would create:

A(TypeX x, TypeY y):x(x),y(y){}
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 30 2013 : 08:32:48 AM
This is a sensible suggestion. We are considering adding a refactoring command to do this:

case=14340

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