Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 refactor option: toggle to trailing-return layout

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
Adequat Posted - Nov 30 2016 : 1:24:38 PM
int getMulticastHops() const;

vs

auto getMulticastHops() const -> int;

http://arne-mertz.de/2016/11/trailing-return-types-everywhere/
3   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Dec 05 2016 : 8:05:58 PM
I have opened a feature request for this:

case=101995
Adequat Posted - Dec 05 2016 : 07:14:02 AM
>>Are you asking a command to convert from trailing type to normal?

No, the opposite, from normal to trailing (though both operations would be fine)
I just quoted the link to point to some kind of reference on the topic.
Here you can see good arguments to use the trailing type:
https://www.reddit.com/r/cpp/comments/5fqce7/trailing_return_types_everywhere/
accord Posted - Dec 01 2016 : 09:16:12 AM
The linked post talks about the overuse of trailing return types. Are you asking a command to convert from trailing type to normal?

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