How exactly does the compiler know how to do foreach on ranges
(for example, ones returned by std.algorithm.map ?) I've looked
around in std.algorithm and std.range, but can't seem to figure
it out.
- foreach for ranges? Mike L.
- Re: foreach for ranges? Ali Çehreli
- Re: foreach for ranges? Mike L.
- Re: foreach for ranges? Jonathan M Davis
- Re: foreach for ranges? Kapps
- Re: foreach for ranges? Jonathan M Davis
- Re: foreach for ranges? Mike L.
- Re: foreach for ranges? Ali Çehreli
- Re: foreach for ranges? Jonathan M Davis
- Re: foreach for ranges? Eyyub
- Re: foreach for ranges? Jonathan M Davis