gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mutableCopy in NSArray


From: Richard Frith-Macdonald
Subject: Re: mutableCopy in NSArray
Date: Mon, 18 Mar 2002 07:35:21 +0000

On Saturday, March 16, 2002, at 10:31 PM, Thorano wrote:


In the current version from the cvs, mutableCopy is only implemented
once in all the hierarchy of NSArray.  The implementation is this one
and it looks wrong to me:

GNUstep copying of container classes like NSArray follows the same rules
as MacOS-X ... for compatibility.

A mutable copy is *not* supposed to be a deep copy, rather
it's suppose supposed to produce a new container which can be modified
without affecting he original container - note, it's a copy of the
container, not its contents.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]