opApply Vs. Ranges: What should take precedence?

Bill Baxter wbaxter at gmail.com
Fri Nov 20 15:55:54 PST 2009


On Fri, Nov 20, 2009 at 3:36 PM, Walter Bright
<newshound1 at digitalmars.com> wrote:
>
> And here I was thinking perhaps opApply should just be dumped in favor of
> ranges.
>

I think the opApply should take precedence.
The only reason to define opApply is because foreach uses it.
Ranges on the other hand are useful in other situations.

--bb



More information about the Digitalmars-d mailing list