return in void functions

bearophile bearophileHUGS at lycos.com
Thu Mar 5 03:26:53 PST 2009


Nick Sabalausky:
> There has to be a better way to handle that.

Possible idea: allowing functions too (and not just function templates as in D2) to have an "auto" return type?


>(In fact, I've been bitten by that before.)<

Me too, that's why I have started this thread.

Bye,
bearophile



More information about the Digitalmars-d mailing list