Justin Johansson:

> The return type must be specified however,
> since inference cannot be made from missing information.

If the information isn't missing in D2 you can sometimes use "auto" return type 
for function templates and some functions, and in some other situations you can 
also use typeof(return).

Bye,
bearophile

Reply via email to