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
 Extract Method could offer C++11 option
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jschroedl
Tomato Guru

USA
101 Posts

Posted - Nov 06 2014 :  2:37:44 PM  Show Profile  Reply with Quote
I know you're working on other C++11 features but I want to spell out my particular request in case it's not on the list yet...

I'd like an option on "Extract Method" to extract the modern form:

ex: auto MyExtractedFunc(int parm) -> double;

sean
Whole Tomato Software

USA
2817 Posts

Posted - Nov 07 2014 :  11:54:00 AM  Show Profile  Reply with Quote
It wasn't on the list yet, but is now: case=86182
Go to Top of Page

Mordachai
Tomato Guru

USA
224 Posts

Posted - Nov 21 2014 :  2:40:06 PM  Show Profile  Reply with Quote
Let's jump right to C++14 then:

auto MyExtractedFunc(int param)

Skip the unnecessary -> double trailer.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Nov 21 2014 :  3:18:23 PM  Show Profile  Reply with Quote
Thanks for the callout. I've updated the case with the c++14 style.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2021 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000