Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Q: Change Sig w/o commenting default args?

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
Mordachai Posted - Feb 06 2014 : 12:34:29 PM
Is it possible to configure things so that specifying default args using change signature doesn't add them as comments to the implementation signature?

I hate the /* = XXXX */ littering my code.

.h should be:

bool fun(int arg = DEFAULT_COUNT);

.cpp should be:

bool fun(int arg)
{
...
}

5   L A T E S T    R E P L I E S    (Newest First)
Mordachai Posted - Jun 26 2014 : 09:20:18 AM
Awesome! :D
sean Posted - Jun 26 2014 : 01:48:24 AM
case=3495 is implemented in build 2042 (see Refactoring page of VA Options dialog).
feline Posted - Feb 11 2014 : 4:28:16 PM
This is down as a high priority item, so hopefully this will be done fairly soon, but unfortunately I don't currently have a time scale for when this will be done.
Mordachai Posted - Feb 07 2014 : 09:54:06 AM
Thanks. I'll look forward to this one. Hopefully, being a trivial feature request, it can just happen soon.
accord Posted - Feb 06 2014 : 4:56:40 PM
Not currently. But this is on our list of things to do:

case=3495

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