QtD is suspended

Walter Bright newshound2 at digitalmars.com
Fri Sep 17 18:08:29 PDT 2010


Andrei Alexandrescu wrote:
> On 9/17/10 10:48 CDT, Michel Fortin wrote:
>> I understand the intent quite well. I'm talking about what happens if
>> the source is const?
> 
> The whole point is, mutation is the motivator. If you copy an empty 
> hash, no problem because the receiver can't mutate it.

Wouldn't copying a ref counted object require mutating the original?


More information about the Digitalmars-d-announce mailing list