auto return for some recursive functions in C++11

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Wed Jan 14 16:11:34 PST 2015


Xinok:

> I played with it a bit and it seems to deduce a common type 
> from all the return statements,

Right, this works according to the D specs (but this is different 
from the feature I have suggested in the original post).

Bye,
bearophile


More information about the Digitalmars-d mailing list