Associative array key changes

Walter Bright newshound at digitalmars.com
Mon Mar 27 11:02:43 PST 2006


"Andrew" <Andrew_member at pathlink.com> wrote in message 
news:e083bb$6i8$1 at digitaldaemon.com...
> In article <e07fcr$2e0p$1 at digitaldaemon.com>, Walter Bright says...
>>
>>
>>"Erik Rasmussen" <i_am_erik at yahoo.com> wrote in message
>>news:dvog1t$2jcc$1 at digitaldaemon.com...
>>> I know.  And rehashing does nothing.  Same results.
>>
>>You can't change a key in place once it's been added to an AA. Remove the
>>key from the AA, then add a new one.
>>
>>
>
> Can't is kind of a strong work there Walter. I think it's already been
> demonstrated that you can (albeit with undesired results). What we need 
> from you
> now is to either make it "safely" legal to do so or "explicitly" illegal.

Consider it "illegal". 





More information about the Digitalmars-d-learn mailing list