On 2012-12-23 23:16, Jonathan M Davis wrote:

But with return types, it affects the documentation and people's ability to
figure out what a function does, so as useful as auto return types can be, they
come with a definite cost and should be avoided if they're not needed.

The compiler should be able to replace "auto" with the actual type when generating documentation.

--
/Jacob Carlborg

Reply via email to