Bad AA behavior

BCS BCS at pathilink.com
Wed Dec 27 08:58:08 PST 2006


%u wrote:
> == Quote from BCS (BCS at pathilink.com)'s article
>> Doing anything else is asking for trouble
> 
> No. In case the coder knows that the key is immutable a duplication
> is superfluous. A superfluous duplication is dangerous if the
> duplicated key is relatively large to the remaining free memeory.

OK so you end up asking for trouble either way.

I still don't /like/ it, and will still live with it. maybe some note 
should be added to the AA section of the docs.


More information about the Digitalmars-d-bugs mailing list