Fixing const arrays

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Dec 11 00:55:43 PST 2011


On 12/11/11 2:48 AM, bearophile wrote:
> Andrei Alexandrescu:
>
>> I'm not sure. How many times have you been in a place in life
>> where you had a const range on your hands, that's not an array? I
>> haven't.
>
> How many times I have used reduce or map on constant arrays in D2?
> Only few times, using a cast(). Now I am using them.
>
> Bye, bearophile

Emphasis added:

>> I'm not sure. How many times have you been in a place in life where
>> you had a const range on your hands, _that's_not_an_array_? I
>> haven't.

Andrei


More information about the Digitalmars-d mailing list