What's the deal with __buck?

Bill Baxter wbaxter at gmail.com
Thu Jan 29 15:06:13 PST 2009


On Fri, Jan 30, 2009 at 8:00 AM, Andrei Alexandrescu
<SeeWebsiteForEmail at erdani.org> wrote:
> Jarrett Billingsley wrote:

>> Sounds good.  Question - since length will work for multiple indices,
>> will it ever be possible to have .. multiple slices?
>>
>> a[x1 .. x2, y1 .. y2] = b;
>
> That's rather exotic. After that the road is opened for free-form
> combinations of a .. b and a. But I can definitely see some good uses for
> it.

Multi-dim slicing is bread and butter for array math packages like
Matlab or NumPy.

--bb



More information about the Digitalmars-d mailing list