auto return for some recursive functions in C++11
MattCoder via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jan 14 16:32:05 PST 2015
On Thursday, 15 January 2015 at 00:24:09 UTC, Ola Fosheim Grøstad
wrote:
> On Thursday, 15 January 2015 at 00:13:38 UTC, MattCoder wrote:
>> So could you please tell me a good use case to for using
>> "return
>> type deduction"?
>
> Templates.
Thanks! - In fact after posting I took a look and found this:
http://stackoverflow.com/questions/15737223/when-should-i-use-c14-automatic-return-type-deduction
Matheus.
More information about the Digitalmars-d
mailing list