[dmd-beta] beta 2
Walter Bright
walter at digitalmars.com
Wed Jul 6 12:46:10 PDT 2011
On 7/6/2011 12:08 PM, David Simcha wrote:
> Again, where does this leave the weakly pure function issue? I want to be
> sure that weak purity for non-const member functions is going away forever
> before I take it out of all my code and test this beta in any detail.
>
The trouble was that there were a lot of functions marked as 'pure' that were
changing things pointed to by its arguments.
I understand that within a pure function, such a pure function could modify
locals without the caller becoming impure. But those functions are still impure.
More information about the dmd-beta
mailing list