Return type of std.algorithm.map
James Fisher
jameshfisher at gmail.com
Fri Jul 8 08:08:14 PDT 2011
On Fri, Jul 8, 2011 at 4:06 PM, James Fisher <jameshfisher at gmail.com> wrote:
>
> So ... stuff works, but I'm not really sure why one uses function
> templating and the other uses return type inference. Any answers?
... Wait, brain malfunction; I think I do understand. The type is inferable
purely from the function definition in the latter case.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20110708/35f746d8/attachment.html>
More information about the Digitalmars-d-learn
mailing list