Associative array key changes

Andrew Andrew_member at pathlink.com
Sun Mar 26 23:13:47 PST 2006


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.

Thanks,
Drew 





More information about the Digitalmars-d-learn mailing list