DMD 1.038 and 2.022 releases
Christopher Wright
dhasenan at gmail.com
Thu Dec 18 04:27:16 PST 2008
Simen Kjaeraas wrote:
> On Thu, 18 Dec 2008 07:01:49 +0100, Steven Schveighoffer
> <schveiguy at yahoo.com> wrote:
>
>> Walter wants pure functions that have no side effects *AND* cannot be
>> affected by other functions' side effects. Your example fails the second
>> requirement.
>
> I should have put that in there as well. My point was that a delegate
> /can be/ as pure as a normal function.
Right, but the compiler might have to take it on faith that the delegate
is really pure.
More information about the Digitalmars-d-announce
mailing list