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? |