July 14, 2014 Re: std.algorithm.among | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile | On Sunday, 13 July 2014 at 20:55:25 UTC, bearophile wrote:
> D doesn't carry the range of mutable variables across different expressions.
What is the reasoning behind this kind of special-casing?
|
July 14, 2014 Re: std.algorithm.among | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ola Fosheim Grøstad | Ola Fosheim Grøstad:
> On Sunday, 13 July 2014 at 20:55:25 UTC, bearophile wrote:
>> D doesn't carry the range of mutable variables across different expressions.
>
> What is the reasoning behind this kind of special-casing?
Compiler simplicity and to avoid flow analysis. The value range is kept across const expressions since 2.066.
Bye,
bearophile
|
Copyright © 1999-2021 by the D Language Foundation